aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-09-26 19:39:54 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-09-26 19:39:54 +0000
commit1003dec108365f1ecc06eb840a0ee49d1d7bfb59 (patch)
tree8dc86b0da796928b2b95256d9f8a7fd0ccfc0a24 /packages
parentba1e4def30965f93802c3915652c6a25268c098f (diff)
downloadpfsense-packages-1003dec108365f1ecc06eb840a0ee49d1d7bfb59.tar.gz
pfsense-packages-1003dec108365f1ecc06eb840a0ee49d1d7bfb59.tar.bz2
pfsense-packages-1003dec108365f1ecc06eb840a0ee49d1d7bfb59.zip
Change interface_array to iface_array
Diffstat (limited to 'packages')
-rw-r--r--packages/snort/snort.inc4
-rw-r--r--packages/snort/snort.xml2
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/snort/snort.inc b/packages/snort/snort.inc
index 6965fb03..12312b2e 100644
--- a/packages/snort/snort.inc
+++ b/packages/snort/snort.inc
@@ -49,7 +49,7 @@ function sync_package_snort() {
$iflist = array("lan" => "LAN");
for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++)
$iflist['opt' . $i] = "opt{$i}";
- foreach($_POST['interface_array'] as $iface) {
+ foreach($_POST['iface_array'] as $iface) {
$if = convert_friendly_interface_to_real_interface_name($iface);
if($if) {
$ifaces_final .= " -i " . $if;
@@ -98,7 +98,7 @@ function generate_snort_conf() {
global $config, $g, $snort_conf_file;
/* obtain external interface */
/* XXX: make multi wan friendly */
- $snort_ext_int = $config['installedpackages']['snort']['config'][0]['interface_array'][0];
+ $snort_ext_int = $config['installedpackages']['snort']['config'][0]['iface_array'][0];
/* set the snort performance model */
if($config['installedpackages']['snort']['config'][0]['performance'])
diff --git a/packages/snort/snort.xml b/packages/snort/snort.xml
index 528687b6..33090913 100644
--- a/packages/snort/snort.xml
+++ b/packages/snort/snort.xml
@@ -53,7 +53,7 @@
<fields>
<field>
<fielddescr>Interface</fielddescr>
- <fieldname>interface_array</fieldname>
+ <fieldname>iface_array</fieldname>
<value>lan</value>
<multiple>true</multiple>
<size>3</size>