diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/www/firewall_rules_edit.php | 2 |
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'])) { |