summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-06 03:33:07 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-06 03:33:07 +0000
commit18d4df52ee067080581ec9d6a8ec0077c8d1c879 (patch)
tree1dac2cc2c990e8f964a6f0bd5eb1800279b23e57 /usr/local
parent58eb3a731825dd9f80a70cc318dc45043cba22bf (diff)
downloadpfsense-18d4df52ee067080581ec9d6a8ec0077c8d1c879.zip
pfsense-18d4df52ee067080581ec9d6a8ec0077c8d1c879.tar.gz
Only show fast routing option if pf is disabled (routing only mode).
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/system_routes.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/system_routes.php b/usr/local/www/system_routes.php
index 54beeac..63e37a0 100755
--- a/usr/local/www/system_routes.php
+++ b/usr/local/www/system_routes.php
@@ -98,7 +98,9 @@ if ($_GET['act'] == "del") {
<?php endif; ?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <?php if($config['system']['disablefilter'] <> "") :?>
<tr><td width="2%"><input type="checkbox" name="enablefastrouting" id="enablefastrouting" <?php if($config['staticroutes']['enablefastrouting'] == "enabled") echo " checked"; ?>></td><td><b>Enable fast routing</td></tr>
+ <?php endif ?>
<tr><td colspan=2><hr><input type="submit" value="Save"></td></tr>
</table><br>
OpenPOWER on IntegriCloud