aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2014-04-08 02:35:14 -0700
committerPhil Davis <phil.davis@inf.org>2014-04-08 02:35:14 -0700
commitea0c11add6861824664f844b1014517e4c20df1e (patch)
treec0ce4a19867784b4e6e3787305a9545367a54142 /config
parentb98fe3e8ff1560b664dc0f18c7b344ad5b1aac2c (diff)
downloadpfsense-packages-ea0c11add6861824664f844b1014517e4c20df1e.tar.gz
pfsense-packages-ea0c11add6861824664f844b1014517e4c20df1e.tar.bz2
pfsense-packages-ea0c11add6861824664f844b1014517e4c20df1e.zip
arpwatch quotes only go around email address #3584
This was updated recently by https://github.com/pfsense/pfsense-packages/commit/fc65960f7eeaa45d5f0df1e57bb8868a80180fa0 but it just looks like the wrong place to add the quotes. Please test before committing.
Diffstat (limited to 'config')
-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",