From: Michael Tremer Date: Sun, 4 Jun 2023 17:05:06 +0000 (+0000) Subject: ports: Do not expect to come back after creating links X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=895f7134d55c38f3059e88e128d5670187222e69;p=network.git ports: Do not expect to come back after creating links Signed-off-by: Michael Tremer --- diff --git a/src/networkd/port.c b/src/networkd/port.c index 061e13c7..c87ed599 100644 --- a/src/networkd/port.c +++ b/src/networkd/port.c @@ -566,11 +566,8 @@ int nw_port_reconfigure(nw_port* port) { } // If there is no link, we will try to create it - if (!port->link) { - r = nw_port_create_link(port); - if (r) - return r; - } + if (!port->link) + return nw_port_create_link(port); // XXX TODO