aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-05-20 10:54:12 -0400
committerbmeeks8 <bmeeks8@bellsouth.net>2014-05-20 10:54:12 -0400
commit97e0eebfbdaa33bd2e7fbf674da94998abf81ced (patch)
treeb5cef4fe5c1f4a74c32b354b2125659204109ebf
parent9bc3ab11bf16b35875baa0dae75996ab3c8775a2 (diff)
downloadpfsense-packages-97e0eebfbdaa33bd2e7fbf674da94998abf81ced.tar.gz
pfsense-packages-97e0eebfbdaa33bd2e7fbf674da94998abf81ced.tar.bz2
pfsense-packages-97e0eebfbdaa33bd2e7fbf674da94998abf81ced.zip
Do not provide default value for Barnyard2 sensor name.
-rw-r--r--config/suricata/suricata_barnyard.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/config/suricata/suricata_barnyard.php b/config/suricata/suricata_barnyard.php
index d4afe4f4..c7488fe4 100644
--- a/config/suricata/suricata_barnyard.php
+++ b/config/suricata/suricata_barnyard.php
@@ -86,8 +86,6 @@ if (isset($id) && $a_nat[$id]) {
$pconfig['barnyard_bro_ids_dport'] = "47760";
if (empty($a_nat[$id]['barnyard_sensor_id']))
$pconfig['barnyard_sensor_id'] = "0";
- if (empty($a_nat[$id]['barnyard_sensor_name']))
- $pconfig['barnyard_sensor_name'] = php_uname("n");
}
if ($_POST['save']) {