From 3169ec8e5176359dd265ac67901684ac0c71c467 Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Mon, 21 Dec 2009 00:50:25 -0500 Subject: add PPP support to dynamic gateways --- usr/local/www/firewall_rules_edit.php | 8 ++++++++ 1 file changed, 8 insertions(+) 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 "\n"; + } else if ($config['interfaces'][$ifent]['serialport'] <> "") { + if ($pconfig['gateway'] == $ifent) { + $selected = " SELECTED"; + } else { + $selected = ""; + } + if($ifdesc <> "") + echo "\n"; } } /* add gateway groups to the list */ -- cgit v1.1