aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-04-04 03:15:24 +0000
committerColin Smith <colin@pfsense.org>2005-04-04 03:15:24 +0000
commit30e44eb842364a231f546dcb631da02c814e6f1a (patch)
tree61d784e4f44527ab01f5149f59c4f1079c24509c
parent5bacfecfd27b5c6394e52b8a989cb7530e5cb550 (diff)
downloadpfsense-packages-30e44eb842364a231f546dcb631da02c814e6f1a.tar.gz
pfsense-packages-30e44eb842364a231f546dcb631da02c814e6f1a.tar.bz2
pfsense-packages-30e44eb842364a231f546dcb631da02c814e6f1a.zip
Fix array indexing.
-rw-r--r--packages/arpwatch.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/arpwatch.xml b/packages/arpwatch.xml
index e8f622e6..7b55751d 100644
--- a/packages/arpwatch.xml
+++ b/packages/arpwatch.xml
@@ -29,7 +29,7 @@
global $config;
$fout = fopen("/usr/local/etc/rc.d/arpwatch.sh","w");
fwrite($fout, "# This file was automatically generated by the pfSense\n# package management system.\n\n");
- if(isset($config['installedpackages']['arpwatch']['config']['0']['interface'])) {
+ if(isset($config['installedpackages']['arpwatch']['config'][0]['interface'])) {
$int = convert_friendly_interface_to_real_interface_name($config['installedpackages']['arpwatch']['config']['0']['interface']);
fwrite($fout, "/usr/local/sbin/arpwatch -i " . $int . "\n\n");
}