summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/network/networkd-link.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index d9b38c1f6d..653beae1d9 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -187,6 +187,9 @@ static int link_stop_clients(Link *link) {
static void link_enter_failed(Link *link) {
assert(link);
+ if (link->state == LINK_STATE_FAILED)
+ return;
+
log_warning_link(link, "failed");
link->state = LINK_STATE_FAILED;