mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 00:24:40 +00:00
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:
parent
90ac0df95d
commit
6ea9d216e2
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user