From 8a92250d355ea4849ef88fdebaa3e5504e16bdf7 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 9 Sep 2005 20:57:39 +0000 Subject: Axe [0] --- packages/arpwatch.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages') diff --git a/packages/arpwatch.xml b/packages/arpwatch.xml index c53d3c6b..f0faffd6 100644 --- a/packages/arpwatch.xml +++ b/packages/arpwatch.xml @@ -32,8 +32,8 @@ conf_mount_rw(); config_lock(); global $config; - $int = convert_friendly_interface_to_real_interface_name($config['installedpackages']['arpwatch']['config'][0]['interface']); - $start = "/usr/local/sbin/arpwatch -d -i {$_POST['$int']} &"; + $int = convert_friendly_interface_to_real_interface_name($config['installedpackages']['arpwatch']['config']['interface']); + $start = "/usr/local/sbin/arpwatch -d -i {$int} &"; $stop = "/usr/bin/killall arpwatch"; write_rcfile(array( "file" => "arpwatch.sh", -- cgit v1.2.3