summaryrefslogtreecommitdiffstats
path: root/src/etc
diff options
context:
space:
mode:
authorFernsehkind <fernsehkind@users.noreply.github.com>2017-06-20 20:42:14 +0200
committerGitHub <noreply@github.com>2017-06-20 20:42:14 +0200
commit8e7d47feda1c56715304a3a381fc9495698179fb (patch)
tree94c358a43423e9a01735ba7716b90c0122831d47 /src/etc
parent66a405929e61938c036005cca8fde0ba17554a27 (diff)
downloadpfsense-8e7d47feda1c56715304a3a381fc9495698179fb.zip
pfsense-8e7d47feda1c56715304a3a381fc9495698179fb.tar.gz
Use correct wording for log output when IP address has changed and states are killed accordingly
Diffstat (limited to 'src/etc')
-rwxr-xr-xsrc/etc/rc.newwanip4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/rc.newwanip b/src/etc/rc.newwanip
index e59e607..76b5f6f 100755
--- a/src/etc/rc.newwanip
+++ b/src/etc/rc.newwanip
@@ -201,11 +201,11 @@ if (!is_ipaddr($oldip) || $curwanip != $oldip || !is_ipaddrv4($config['interface
/* IP changed, kill states accordingly */
if ($curwanip != $oldip) {
if (isset($config['system']['ip_change_kill_states'])) {
- log_error("IP has changed, killing all states (ip_change_kill_states is set).");
+ log_error("IP Address has changed, killing all states (ip_change_kill_states is set).");
pfSense_kill_states($oldip);
filter_flush_state_table();
} else {
- log_error("IP has changed, killing states on former IP $oldip.");
+ log_error("IP Address has changed, killing states on former IP Address $oldip.");
pfSense_kill_states($oldip);
}
}
OpenPOWER on IntegriCloud