mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Log if rc.newwanip(v6) is called with empty interface.
This commit is contained in:
parent
6f069e921c
commit
ef945b86ae
@ -106,6 +106,7 @@ if (empty($interface)) {
|
||||
if (platform_booting()) {
|
||||
return;
|
||||
}
|
||||
log_error("rc.newwanip called with empty interface.");
|
||||
filter_configure();
|
||||
restart_packages();
|
||||
return;
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user