diff options
Diffstat (limited to 'usr/local/www/firewall_rules_edit.php')
-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 */ |