diff options
author | Ermal <eri@pfsense.org> | 2012-07-12 07:46:15 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-07-12 07:46:15 +0000 |
commit | 06e36f418ba5e4f449d9fb6f213cadb9b4b91bbe (patch) | |
tree | e0312451e00279f55f1257419a85bc6cdeca08af /config/snort/snort_interfaces_edit.php | |
parent | 08875e3676b9fb759891cb54414757a6a27bf3f8 (diff) | |
download | pfsense-packages-06e36f418ba5e4f449d9fb6f213cadb9b4b91bbe.tar.gz pfsense-packages-06e36f418ba5e4f449d9fb6f213cadb9b4b91bbe.tar.bz2 pfsense-packages-06e36f418ba5e4f449d9fb6f213cadb9b4b91bbe.zip |
Show the icon on the snort column for consistency. Stop snort when disabled is ticked of on edit screen
Diffstat (limited to 'config/snort/snort_interfaces_edit.php')
-rw-r--r-- | config/snort/snort_interfaces_edit.php | 2 |
1 files changed, 2 insertions, 0 deletions
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(); |