networkd: link - don't enter LINK_CONFIGURED more than once

This commit is contained in:
Tom Gundersen
2014-08-14 14:13:36 +02:00
parent c6d3b3034a
commit 9fdaa9925e
+2 -1
View File
@@ -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;
}