aboutsummaryrefslogtreecommitdiffstats
path: root/config/arpwatch.xml
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-04-10 06:31:43 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-04-10 06:31:43 -0300
commitc7d09f6ad822f1e93ea2d626ec0b33cda922e700 (patch)
tree4370365a31ad108d0383db1462cdc941cc6fc12c /config/arpwatch.xml
parent48dc254a7bc8cbe1d54587369cf2ed4e80633a8a (diff)
parentaca7ab8767818a045746a7bfe04231cd83e2f091 (diff)
downloadpfsense-packages-c7d09f6ad822f1e93ea2d626ec0b33cda922e700.tar.gz
pfsense-packages-c7d09f6ad822f1e93ea2d626ec0b33cda922e700.tar.bz2
pfsense-packages-c7d09f6ad822f1e93ea2d626ec0b33cda922e700.zip
Merge pull request #643 from phil-davis/patch-1
Diffstat (limited to 'config/arpwatch.xml')
-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>&amp;1 &amp;";
+ $start .= "/usr/local/sbin/arpwatch {$debug} -f {$log_file} {$mail} -i {$int} > /var/log/arpwatch.reports 2>&amp;1 &amp;";
$stop = "/usr/bin/killall arpwatch";
write_rcfile(array(
"file" => "arpwatch.sh",