diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/arpwatch.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/arpwatch.xml b/packages/arpwatch.xml index c38201aa..39b19d66 100644 --- a/packages/arpwatch.xml +++ b/packages/arpwatch.xml @@ -35,7 +35,10 @@ foreach($config['installedpackages']['arpwatch']['config'] as $arpw) { $ints = $arpw['interface']; } - if($ints == "") $ints = "lan"; + if($ints == "") { + $ints = "lan"; + log_error("Could not find a interface for arpwatch. Defaulting to LAN"); + } global $config; $int = convert_friendly_interface_to_real_interface_name($ints); $start = "/usr/local/sbin/arpwatch -d -i {$int} &"; |