Revision 8be60f21
Added by Scott Ullrich over 20 years ago
usr/local/www/firewall_rules_edit.php | ||
---|---|---|
141 | 141 |
$pconfig['srcmask'], $pconfig['srcnot'], |
142 | 142 |
$pconfig['srcbeginport'], $pconfig['srcendport']); |
143 | 143 |
|
144 |
$pconfig['os'] = $a_filter[$id]['os']; |
|
144 |
if($a_filter[$id]['os'] <> "") |
|
145 |
$pconfig['os'] = $a_filter[$id]['os']; |
|
145 | 146 |
|
146 | 147 |
address_to_pconfig($a_filter[$id]['destination'], $pconfig['dst'], |
147 | 148 |
$pconfig['dstmask'], $pconfig['dstnot'], |
Also available in: Unified diff
Do not update os type unless its defined in the rule.