diff options
Diffstat (limited to 'packages/arpwatch.xml')
-rw-r--r-- | packages/arpwatch.xml | 4 |
1 files changed, 2 insertions, 2 deletions
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", |