diff options
author | Chris Buechler <cmb@pfsense.org> | 2009-12-21 00:50:25 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2009-12-21 00:50:25 -0500 |
commit | 3169ec8e5176359dd265ac67901684ac0c71c467 (patch) | |
tree | 5fb545cc0270184f845a70755d9ec32b9ac3147b /usr/local | |
parent | 106804a28dd3a0bb5c655138daee53d68f9308ab (diff) | |
download | pfsense-3169ec8e5176359dd265ac67901684ac0c71c467.zip pfsense-3169ec8e5176359dd265ac67901684ac0c71c467.tar.gz |
add PPP support to dynamic gateways
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/firewall_rules_edit.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php index c35cfa6..d799841 100755 --- a/usr/local/www/firewall_rules_edit.php +++ b/usr/local/www/firewall_rules_edit.php @@ -1107,6 +1107,14 @@ include("head.inc"); } if($ifdesc <> "") echo "<option value=\"{$ifent}\" {$selected}>".strtoupper($ifent)." - {$ifdesc}</option>\n"; + } else if ($config['interfaces'][$ifent]['serialport'] <> "") { + if ($pconfig['gateway'] == $ifent) { + $selected = " SELECTED"; + } else { + $selected = ""; + } + if($ifdesc <> "") + echo "<option value=\"{$ifent}\" {$selected}>".strtoupper($ifent)." - {$ifdesc}</option>\n"; } } /* add gateway groups to the list */ |