diff --git a/src/etc/rc.newwanip b/src/etc/rc.newwanip index 4831043f2d..d7afb2a85f 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 bd46bdf4ed..1187f1332d 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; }