diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-02 20:35:22 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-02 20:35:22 +0000 |
commit | 8be60f21ed20285ec605ed589b42761e19535232 (patch) | |
tree | 3bd018aa20afc159426ccf10f88bdcf79d7a1eff /usr | |
parent | 038aa597e271ec1938e6490a566d284c4610764e (diff) | |
download | pfsense-8be60f21ed20285ec605ed589b42761e19535232.zip pfsense-8be60f21ed20285ec605ed589b42761e19535232.tar.gz |
Do not update os type unless its defined in the rule.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/firewall_rules_edit.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php index c592984..37c6021 100755 --- a/usr/local/www/firewall_rules_edit.php +++ b/usr/local/www/firewall_rules_edit.php @@ -141,7 +141,8 @@ if (isset($id) && $a_filter[$id]) { $pconfig['srcmask'], $pconfig['srcnot'], $pconfig['srcbeginport'], $pconfig['srcendport']); - $pconfig['os'] = $a_filter[$id]['os']; + if($a_filter[$id]['os'] <> "") + $pconfig['os'] = $a_filter[$id]['os']; address_to_pconfig($a_filter[$id]['destination'], $pconfig['dst'], $pconfig['dstmask'], $pconfig['dstnot'], |