summaryrefslogtreecommitdiff
path: root/src/network/networkd-link.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/networkd-link.c')
-rw-r--r--src/network/networkd-link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index 78853c8cca..755d9c919d 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -2275,7 +2275,7 @@ static void link_update_operstate(Link *link) {
/* if we have carrier, check what addresses we have */
SET_FOREACH(address, link->addresses, i) {
- if (address->flags & (IFA_F_TENTATIVE | IFA_F_DEPRECATED))
+ if (!address_is_ready(address))
continue;
if (address->scope < scope)