interfaces: 0e2751d2d means default gateway switching no longer requires this #6852

The change is not immediate but the watcher will take care of it.
This commit is contained in:
Franco Fichtner 2023-09-15 14:23:21 +02:00
parent 90ac0df95d
commit 6ea9d216e2

View File

@ -62,12 +62,10 @@ function handle_argument_group($action, $device)
case 'stop':
log_msg(sprintf("DEVD: Ethernet detached event for %s(%s)", $interface, $device));
interface_bring_down($interface);
filter_configure(false, false);
break;
case 'start':
log_msg(sprintf("DEVD: Ethernet attached event for %s(%s)", $interface, $device));
interface_configure(false, $interface, true, true);
filter_configure(false, false);
break;
default:
log_msg("DEVD: The action parameter passed is wrong ($action)", LOG_ERR);