summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-08-14 14:13:36 +0200
committerTom Gundersen <teg@jklm.no>2014-08-14 14:13:36 +0200
commit9fdaa9925e1919b766fe1e095228fe663c583923 (patch)
treed0c08dc56178f9c62e6bbdeea2ad30e8c9cf4147
parentc6d3b3034acf1faec43b1281d3c7b94c23eb69d1 (diff)
networkd: link - don't enter LINK_CONFIGURED more than once
-rw-r--r--src/network/networkd-link.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index d929a80129..160f507dc9 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -380,7 +380,8 @@ void link_client_handler(Link *link) {
if (!link->dhcp4_configured)
return;
- link_enter_configured(link);
+ if (link->state != LINK_STATE_CONFIGURED)
+ link_enter_configured(link);
return;
}