From 1a7f9ec445a40c2314047605e5c1583892f89b7c Mon Sep 17 00:00:00 2001 From: Ermal Date: Mon, 16 Jul 2012 15:00:17 +0000 Subject: Allow peopel to run multiple times the same interface! --- config/snort/snort_interfaces_edit.php | 2 ++ 1 file changed, 2 insertions(+) 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) { -- cgit v1.2.3