aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/arpwatch.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/arpwatch.xml b/config/arpwatch.xml
index 7c114c2e..f77fce34 100644
--- a/config/arpwatch.xml
+++ b/config/arpwatch.xml
@@ -113,13 +113,13 @@
$debug = "";
if(($pf_version > 2.0) && (isset($_POST['enable_email']) || ($config['installedpackages']['arpwatch']['config'][0]['enable_email'] == "on"))) {
if (!empty($config['notifications']['smtp']['notifyemailaddress']))
- $mail = " -m {$config['notifications']['smtp']['notifyemailaddress']}";
+ $mail = " -m \"{$config['notifications']['smtp']['notifyemailaddress']}\"";
} else {
$debug = "-d";
}
$int = convert_friendly_interface_to_real_interface_name($int);
$start = "touch {$log_file}\n";
- $start .= "/usr/local/sbin/arpwatch {$debug} -f {$log_file} \"{$mail}\" -i {$int} > /var/log/arpwatch.reports 2>&1 &";
+ $start .= "/usr/local/sbin/arpwatch {$debug} -f {$log_file} {$mail} -i {$int} > /var/log/arpwatch.reports 2>&1 &";
$stop = "/usr/bin/killall arpwatch";
write_rcfile(array(
"file" => "arpwatch.sh",