clarify logs generated by newwanip(v6) when restarting packages, it's not only IP changes that end up here (by design).

This commit is contained in:
Chris Buechler 2014-11-01 01:42:19 -05:00
parent 8560c7568a
commit 038f6e9676
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ function restart_packages() {
/* restart packages */
system_ntp_configure(false);
mwexec_bg("/usr/local/sbin/ntpdate_sync_once.sh", true);
log_error("{$g['product_name']} package system has detected an IP change $oldip -> $curwanip ... Restarting packages.");
log_error("{$g['product_name']} package system has detected an IP change or dynamic WAN reconnection - $oldip -> $curwanip - Restarting packages.");
send_event("service reload packages");
}

View File

@ -50,7 +50,7 @@ function restart_packages() {
/* restart packages */
system_ntp_configure(false);
mwexec_bg("/usr/local/sbin/ntpdate_sync_once.sh", true);
log_error("{$g['product_name']} package system has detected an IP change $oldipv6 -> $curwanipv6 ... Restarting packages.");
log_error("{$g['product_name']} package system has detected an IP change or dynamic WAN reconnection - $oldipv6 -> $curwanipv6 - Restarting packages.");
send_event("service reload packages");
}