aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-06-14 20:24:24 +0000
committerErmal <eri@pfsense.org>2012-06-14 20:24:24 +0000
commitb389449104dc6b6a83902d83b3448bfa217215ee (patch)
tree8a19e9f4bb1a55c24c8cbc44cb5fddaa5fa32888
parenta0c8e27a82aa6ff3a9c739ef543dc3b90277c0f1 (diff)
downloadpfsense-packages-b389449104dc6b6a83902d83b3448bfa217215ee.tar.gz
pfsense-packages-b389449104dc6b6a83902d83b3448bfa217215ee.tar.bz2
pfsense-packages-b389449104dc6b6a83902d83b3448bfa217215ee.zip
Revert "Preserve already configured settings for the instance"
This reverts commit 5e3a9fe4b075e54b2d0e5962d04eabc494f514fa.
-rw-r--r--config/snort/snort_define_servers.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort_define_servers.php b/config/snort/snort_define_servers.php
index 92c05e3c..497f0a79 100644
--- a/config/snort/snort_define_servers.php
+++ b/config/snort/snort_define_servers.php
@@ -153,7 +153,7 @@ if ($_POST) {
if (isset($id) && $a_nat[$id])
- $a_nat[$id] = array_merge($a_nat[$id], $natent);
+ $a_nat[$id] = $natent;
else {
if (is_numeric($after))
array_splice($a_nat, $after+1, 0, array($natent));