aboutsummaryrefslogtreecommitdiffstats
path: root/config/arpwatch.xml
diff options
context:
space:
mode:
Diffstat (limited to 'config/arpwatch.xml')
-rw-r--r--config/arpwatch.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/arpwatch.xml b/config/arpwatch.xml
index 7f2e72ef..f77fce34 100644
--- a/config/arpwatch.xml
+++ b/config/arpwatch.xml
@@ -75,12 +75,12 @@
<additional_files_needed>
<prefix>/usr/local/www/</prefix>
<chmod>a+rx</chmod>
- <item>http://www.pfsense.com/packages/config/arpwatch_reports.php</item>
+ <item>https://packages.pfsense.org/packages/config/arpwatch_reports.php</item>
</additional_files_needed>
<additional_files_needed>
<prefix>/usr/sbin/</prefix>
<chmod>a+rx</chmod>
- <item>http://www.pfsense.com/packages/config/sm.php</item>
+ <item>https://packages.pfsense.org/packages/config/sm.php</item>
</additional_files_needed>
<fields>
<field>
@@ -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",