Commit 0bc4774b authored by Ad Schellevis's avatar Ad Schellevis

(legacy) (legacy) unexisting return value in firewall_nat_1to1.php

parent 2af63a13
......@@ -43,14 +43,10 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
}
if (isset($pconfig['apply'])) {
$retval = 0;
$retval |= filter_configure();
filter_configure();
$savemsg = get_std_save_message();
if ($retval == 0) {
clear_subsystem_dirty('natconf');
clear_subsystem_dirty('filter');
}
clear_subsystem_dirty('natconf');
clear_subsystem_dirty('filter');
} elseif (isset($pconfig['action']) && $pconfig['action'] == 'del' && isset($id)) {
// delete single entry
unset($a_1to1[$id]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment