aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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");
}