aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-06-14 20:19:14 +0000
committerErmal <eri@pfsense.org>2012-06-14 20:19:14 +0000
commit5e3a9fe4b075e54b2d0e5962d04eabc494f514fa (patch)
treec8df26c431076ff8a1a95381c316ba7e102a515f
parenta941d0447a2ff516d248fa1a7e02ce65827a275a (diff)
downloadpfsense-packages-5e3a9fe4b075e54b2d0e5962d04eabc494f514fa.tar.gz
pfsense-packages-5e3a9fe4b075e54b2d0e5962d04eabc494f514fa.tar.bz2
pfsense-packages-5e3a9fe4b075e54b2d0e5962d04eabc494f514fa.zip
Preserve already configured settings for the instance
-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 497f0a79..92c05e3c 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] = $natent;
+ $a_nat[$id] = array_merge($a_nat[$id], $natent);
else {
if (is_numeric($after))
array_splice($a_nat, $after+1, 0, array($natent));