diff options
author | Chris Buechler <cmb@pfsense.org> | 2016-05-07 19:28:35 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2016-05-07 19:29:01 -0500 |
commit | adff31362e79286a74d114c5015469e369833c85 (patch) | |
tree | ab3786b3b7103da5704f58a3d2578919dea4a3f6 /src | |
parent | 55a9ca071b7a205c2331c0275d73d7d60f8c752d (diff) | |
download | pfsense-adff31362e79286a74d114c5015469e369833c85.zip pfsense-adff31362e79286a74d114c5015469e369833c85.tar.gz |
Log if rc.newwanip(v6) is called with empty interface.
Diffstat (limited to 'src')
-rwxr-xr-x | src/etc/rc.newwanip | 1 | ||||
-rwxr-xr-x | src/etc/rc.newwanipv6 | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/etc/rc.newwanip b/src/etc/rc.newwanip index 4831043..d7afb2a 100755 --- a/src/etc/rc.newwanip +++ b/src/etc/rc.newwanip @@ -106,6 +106,7 @@ if (empty($interface)) { if (platform_booting()) { return; } + log_error("rc.newwanip called with empty interface."); filter_configure(); restart_packages(); return; diff --git a/src/etc/rc.newwanipv6 b/src/etc/rc.newwanipv6 index bd46bdf..1187f13 100755 --- a/src/etc/rc.newwanipv6 +++ b/src/etc/rc.newwanipv6 @@ -74,6 +74,7 @@ if (empty($argument)) { $interface_descr = convert_friendly_interface_to_friendly_descr($interface); if (empty($interface)) { + log_error("rc.newwanipv6 called with empty interface"); filter_configure(); return; } |