diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2014-02-19 23:10:40 -0500 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2014-02-19 23:10:40 -0500 |
commit | a5c40093adcb507d8d5991568a36702fcc649cdb (patch) | |
tree | e993283f12a6f7a3efadf4445fb13ffd6e74d446 /config/suricata/suricata_rulesets.php | |
parent | b33b9a9d050bd5bc8247fc4c95ff7bde39d612f2 (diff) | |
download | pfsense-packages-a5c40093adcb507d8d5991568a36702fcc649cdb.tar.gz pfsense-packages-a5c40093adcb507d8d5991568a36702fcc649cdb.tar.bz2 pfsense-packages-a5c40093adcb507d8d5991568a36702fcc649cdb.zip |
Use system calls instead of wrappers for getting interface names.
Diffstat (limited to 'config/suricata/suricata_rulesets.php')
-rw-r--r-- | config/suricata/suricata_rulesets.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/suricata/suricata_rulesets.php b/config/suricata/suricata_rulesets.php index 7ea34786..a1609d6c 100644 --- a/config/suricata/suricata_rulesets.php +++ b/config/suricata/suricata_rulesets.php @@ -57,7 +57,7 @@ if (isset($id) && $a_nat[$id]) { $pconfig['ips_policy'] = $a_nat[$id]['ips_policy']; } -$if_real = suricata_get_real_interface($pconfig['interface']); +$if_real = get_real_interface($pconfig['interface']); $suricata_uuid = $a_nat[$id]['uuid']; $snortdownload = $config['installedpackages']['suricata']['config'][0]['enable_vrt_rules'] == 'on' ? 'on' : 'off'; $emergingdownload = $config['installedpackages']['suricata']['config'][0]['enable_etopen_rules'] == 'on' ? 'on' : 'off'; @@ -225,7 +225,7 @@ if ($_POST['selectall']) { $enabled_rulesets_array = explode("||", $a_nat[$id]['rulesets']); -$if_friendly = suricata_get_friendly_interface($pconfig['interface']); +$if_friendly = convert_friendly_interface_to_friendly_descr($pconfig['interface']); $pgtitle = gettext("Suricata IDS: Interface {$if_friendly} - Categories"); include_once("head.inc"); ?> |