diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-04-10 06:31:43 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-04-10 06:31:43 -0300 |
commit | c7d09f6ad822f1e93ea2d626ec0b33cda922e700 (patch) | |
tree | 4370365a31ad108d0383db1462cdc941cc6fc12c /config/arpwatch.xml | |
parent | 48dc254a7bc8cbe1d54587369cf2ed4e80633a8a (diff) | |
parent | aca7ab8767818a045746a7bfe04231cd83e2f091 (diff) | |
download | pfsense-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.xml | 4 |
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", |