From 30e44eb842364a231f546dcb631da02c814e6f1a Mon Sep 17 00:00:00 2001 From: Colin Smith Date: Mon, 4 Apr 2005 03:15:24 +0000 Subject: Fix array indexing. --- packages/arpwatch.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') 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"); } -- cgit v1.2.3