diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2014-09-04 16:28:27 -0400 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2014-09-04 16:28:27 -0400 |
commit | 46ba3729b4bbf7dd321fc3555677a66c67f4c784 (patch) | |
tree | d09cafaffff387f721204bc4cee0103da5f51b43 /config/suricata/suricata_generate_yaml.php | |
parent | 2c4435fa4db6a4d24d7faf0b4cdbd7cde8d73089 (diff) | |
download | pfsense-packages-46ba3729b4bbf7dd321fc3555677a66c67f4c784.tar.gz pfsense-packages-46ba3729b4bbf7dd321fc3555677a66c67f4c784.tar.bz2 pfsense-packages-46ba3729b4bbf7dd321fc3555677a66c67f4c784.zip |
Add new GUI control for setting interface promisc mode on/off.
Diffstat (limited to 'config/suricata/suricata_generate_yaml.php')
-rw-r--r-- | config/suricata/suricata_generate_yaml.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/suricata/suricata_generate_yaml.php b/config/suricata/suricata_generate_yaml.php index 0715471d..8e3e538c 100644 --- a/config/suricata/suricata_generate_yaml.php +++ b/config/suricata/suricata_generate_yaml.php @@ -165,6 +165,11 @@ if ($suricatacfg['delayed_detect'] == 'on') else $delayed_detect = "no"; +if ($suricatacfg['intf_promisc_mode'] == 'on') + $intf_promisc_mode = "yes"; +else + $intf_promisc_mode = "no"; + // Add interface-specific blocking settings if ($suricatacfg['blockoffenders'] == 'on') $suri_blockoffenders = "yes"; |