diff options
author | Ermal <eri@pfsense.org> | 2012-07-16 15:00:17 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-07-16 15:00:17 +0000 |
commit | 1a7f9ec445a40c2314047605e5c1583892f89b7c (patch) | |
tree | c7a9db85ecd0e9fe6d0237070682df0485b338d0 /config/snort/snort_interfaces_edit.php | |
parent | 48309bff4845b659eea5a1fc6824aaa7ccb65c84 (diff) | |
download | pfsense-packages-1a7f9ec445a40c2314047605e5c1583892f89b7c.tar.gz pfsense-packages-1a7f9ec445a40c2314047605e5c1583892f89b7c.tar.bz2 pfsense-packages-1a7f9ec445a40c2314047605e5c1583892f89b7c.zip |
Allow peopel to run multiple times the same interface!
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 678caa89..12a82a9a 100644 --- a/config/snort/snort_interfaces_edit.php +++ b/config/snort/snort_interfaces_edit.php @@ -77,12 +77,14 @@ if ($_POST["Submit"]) { if (!$_POST['interface']) $input_errors[] = "Interface is mandatory"; +/* foreach ($a_rule as $natent) { if (isset($id) && ($a_rule[$id]) && ($a_rule[$id] === $natent)) continue; if ($natent['interface'] == $_POST['interface']) $input_errors[] = "This interface is already configured for another instance"; } +*/ /* if no errors write to conf */ if (!$input_errors) { |