mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 10:04:41 +00:00
interfaces: remove obvious expectation mismatch
This commit is contained in:
parent
ddc4f05021
commit
c86c868cb2
@ -56,11 +56,8 @@ function handle_argument_group($action, $realif)
|
||||
if (is_ipaddrv4($ipaddr) && is_ipaddrv6($ip6addr)) {
|
||||
log_error("Hotplug event detected for {$interface}({$realif}) but ignoring since interface is configured with static IP ({$ipaddr} {$ip6addr})");
|
||||
interfaces_staticarp_configure($interface);
|
||||
/* NOTE: Do not generate event for OpenVPN since the daemon does that for us. */
|
||||
if (substr($interface, 0, 4) != "ovpn") {
|
||||
if ($action == 'start') {
|
||||
configdp_run('interface newip', array($realif));
|
||||
}
|
||||
if ($action == 'start') {
|
||||
configdp_run('interface newip', array($realif));
|
||||
}
|
||||
} else {
|
||||
switch ($action) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user