aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_rules.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_rules.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_rules.php')
-rw-r--r--config/suricata/suricata_rules.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/suricata/suricata_rules.php b/config/suricata/suricata_rules.php
index f979d8b2..b848b4e8 100644
--- a/config/suricata/suricata_rules.php
+++ b/config/suricata/suricata_rules.php
@@ -102,7 +102,7 @@ function add_title_attribute($tag, $title) {
}
/* convert fake interfaces to real */
-$if_real = suricata_get_real_interface($pconfig['interface']);
+$if_real = get_real_interface($pconfig['interface']);
$suricata_uuid = $a_rule[$id]['uuid'];
$suricatacfgdir = "{$suricatadir}suricata_{$suricata_uuid}_{$if_real}";
$snortdownload = $config['installedpackages']['suricata']['config'][0]['enable_vrt_rules'];
@@ -409,7 +409,7 @@ else if ($_POST['cancel']) {
require_once("guiconfig.inc");
include_once("head.inc");
-$if_friendly = suricata_get_friendly_interface($pconfig['interface']);
+$if_friendly = convert_friendly_interface_to_friendly_descr($pconfig['interface']);
$pgtitle = gettext("Suricata: Interface {$if_friendly} - Rules: {$currentruleset}");
?>