From 10f21e70786eb856b6a34dd5089bad3e8aeda43d Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 4 Dec 2005 22:59:16 +0000 Subject: MFC 8288 Add NOSYNC options to firewall rules and firewall nat outbound --- usr/local/www/firewall_nat_out_edit.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'usr/local/www/firewall_nat_out_edit.php') diff --git a/usr/local/www/firewall_nat_out_edit.php b/usr/local/www/firewall_nat_out_edit.php index f12f14a..cf8e9d4 100755 --- a/usr/local/www/firewall_nat_out_edit.php +++ b/usr/local/www/firewall_nat_out_edit.php @@ -63,6 +63,7 @@ if (isset($id) && $a_out[$id]) { $pconfig['interface'] = "wan"; $pconfig['descr'] = $a_out[$id]['descr']; $pconfig['nonat'] = $a_out[$id]['nonat']; + $pconfig['nosync'] = isset($a_out[$id]['nosync']); } else { $pconfig['source_subnet'] = 24; $pconfig['destination'] = "any"; @@ -206,6 +207,11 @@ if ($_POST) { $a_out[] = $natent; } + if($_POST['nosync'] <> "") + $natent['nosync'] = true; + else + unset($natent['nosync']); + touch($d_natconfdirty_path); write_config(); @@ -391,6 +397,12 @@ function sourcesel_change() { + No XMLRPC Sync + + > + + + Description -- cgit v1.1