From 97e0eebfbdaa33bd2e7fbf674da94998abf81ced Mon Sep 17 00:00:00 2001 From: bmeeks8 Date: Tue, 20 May 2014 10:54:12 -0400 Subject: Do not provide default value for Barnyard2 sensor name. --- config/suricata/suricata_barnyard.php | 2 -- 1 file changed, 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']) { -- cgit v1.2.3