aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_define_vars.php
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-02-19 23:10:40 -0500
committerbmeeks8 <bmeeks8@bellsouth.net>2014-02-19 23:10:40 -0500
commita5c40093adcb507d8d5991568a36702fcc649cdb (patch)
treee993283f12a6f7a3efadf4445fb13ffd6e74d446 /config/suricata/suricata_define_vars.php
parentb33b9a9d050bd5bc8247fc4c95ff7bde39d612f2 (diff)
downloadpfsense-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_define_vars.php')
-rw-r--r--config/suricata/suricata_define_vars.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/suricata/suricata_define_vars.php b/config/suricata/suricata_define_vars.php
index c9ec2bcd..b1cbfee9 100644
--- a/config/suricata/suricata_define_vars.php
+++ b/config/suricata/suricata_define_vars.php
@@ -77,7 +77,7 @@ ksort($suricata_ports);
$pconfig = $a_nat[$id];
/* convert fake interfaces to real */
-$if_real = suricata_get_real_interface($pconfig['interface']);
+$if_real = get_real_interface($pconfig['interface']);
$suricata_uuid = $config['installedpackages']['suricata']['rule'][$id]['uuid'];
if ($_POST) {
@@ -131,7 +131,7 @@ if ($_POST) {
}
}
-$if_friendly = suricata_get_friendly_interface($pconfig['interface']);
+$if_friendly = convert_friendly_interface_to_friendly_descr($pconfig['interface']);
$pgtitle = gettext("Suricata: Interface {$if_friendly} Variables - Servers and Ports");
include_once("head.inc");