From c86c868cb291b19a29039f9acd85a5d6424c229c Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Mon, 22 Nov 2021 11:23:08 +0100 Subject: [PATCH] interfaces: remove obvious expectation mismatch --- src/etc/rc.linkup | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/etc/rc.linkup b/src/etc/rc.linkup index 6509f1543..98b1fb7f3 100755 --- a/src/etc/rc.linkup +++ b/src/etc/rc.linkup @@ -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) {