aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort-dev/snort_define_servers.php
diff options
context:
space:
mode:
authorrobiscool <robrob2626@yahoo.com>2010-03-16 19:49:43 -0700
committerrobiscool <robrob2626@yahoo.com>2010-03-16 19:52:28 -0700
commitba505e58d599c400029815ea765ad0876bb5f5d7 (patch)
treec1a79db1fef68cf062d88201b45c86022be51c31 /config/snort-dev/snort_define_servers.php
parent04da086580ecb4d10dcf71a97603b59901ca2138 (diff)
downloadpfsense-packages-ba505e58d599c400029815ea765ad0876bb5f5d7.tar.gz
pfsense-packages-ba505e58d599c400029815ea765ad0876bb5f5d7.tar.bz2
pfsense-packages-ba505e58d599c400029815ea765ad0876bb5f5d7.zip
snort-dev, rewrote the major parts to be file independent, added uuid code, added, added new startup code
Diffstat (limited to 'config/snort-dev/snort_define_servers.php')
-rw-r--r--config/snort-dev/snort_define_servers.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/snort-dev/snort_define_servers.php b/config/snort-dev/snort_define_servers.php
index a2cafc05..550cf153 100644
--- a/config/snort-dev/snort_define_servers.php
+++ b/config/snort-dev/snort_define_servers.php
@@ -105,6 +105,7 @@ if (isset($id) && $a_nat[$id]) {
$pconfig['barnyard_enable'] = $a_nat[$id]['barnyard_enable'];
$pconfig['barnyard_mysql'] = $a_nat[$id]['barnyard_mysql'];
$pconfig['enable'] = $a_nat[$id]['enable'];
+ $pconfig['uuid'] = $a_nat[$id]['uuid'];
$pconfig['interface'] = $a_nat[$id]['interface'];
$pconfig['descr'] = $a_nat[$id]['descr'];
$pconfig['performance'] = $a_nat[$id]['performance'];
@@ -133,6 +134,7 @@ if ($_POST) {
/* repost the options already in conf */
if ($pconfig['interface'] != "") { $natent['interface'] = $pconfig['interface']; }
if ($pconfig['enable'] != "") { $natent['enable'] = $pconfig['enable']; }
+ if ($pconfig['uuid'] != "") { $natent['uuid'] = $pconfig['uuid']; }
if ($pconfig['descr'] != "") { $natent['descr'] = $pconfig['descr']; }
if ($pconfig['performance'] != "") { $natent['performance'] = $pconfig['performance']; }
if ($pconfig['blockoffenders7'] != "") { $natent['blockoffenders7'] = $pconfig['blockoffenders7']; }