summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_rules_edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/firewall_rules_edit.php')
-rw-r--r--src/usr/local/www/firewall_rules_edit.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/usr/local/www/firewall_rules_edit.php b/src/usr/local/www/firewall_rules_edit.php
index e23048f..0212796 100644
--- a/src/usr/local/www/firewall_rules_edit.php
+++ b/src/usr/local/www/firewall_rules_edit.php
@@ -194,6 +194,8 @@ if (isset($id) && $a_filter[$id]) {
if (isset($a_filter[$id]['ipprotocol'])) {
$pconfig['ipprotocol'] = $a_filter[$id]['ipprotocol'];
+ } else {
+ $pconfig['ipprotocol'] = 'inet';
}
if (isset($a_filter[$id]['protocol'])) {
OpenPOWER on IntegriCloud