From 06e36f418ba5e4f449d9fb6f213cadb9b4b91bbe Mon Sep 17 00:00:00 2001 From: Ermal Date: Thu, 12 Jul 2012 07:46:15 +0000 Subject: Show the icon on the snort column for consistency. Stop snort when disabled is ticked of on edit screen --- config/snort/snort_interfaces_edit.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config/snort/snort_interfaces_edit.php') diff --git a/config/snort/snort_interfaces_edit.php b/config/snort/snort_interfaces_edit.php index 614fbb52..4e453fc7 100644 --- a/config/snort/snort_interfaces_edit.php +++ b/config/snort/snort_interfaces_edit.php @@ -115,6 +115,8 @@ if ($_POST["Submit"]) { } else $a_rule[] = $natent; + if ($natent['enable'] != 'on') + snort_stop($natent, $if_real); write_config(); sync_snort_package_config(); -- cgit v1.2.3