From fd575068f2a18f39834eab6e6993afbed520605a Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 9 Sep 2005 20:34:40 +0000 Subject: Correctly define arp watch interface --- packages/arpwatch.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/arpwatch.xml b/packages/arpwatch.xml index 2f0c3cb3..c53d3c6b 100644 --- a/packages/arpwatch.xml +++ b/packages/arpwatch.xml @@ -33,7 +33,7 @@ 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 {$int} &"; + $start = "/usr/local/sbin/arpwatch -d -i {$_POST['$int']} &"; $stop = "/usr/bin/killall arpwatch"; write_rcfile(array( "file" => "arpwatch.sh", -- cgit v1.2.3