diff options
Diffstat (limited to 'src/network/networkd-link.c')
-rw-r--r-- | src/network/networkd-link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index 0f2004d717..04b2265610 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -1693,7 +1693,7 @@ int link_save(Link *link) { admin_state = link_state_to_string(link->state); assert(admin_state); - if (link->operstate & IF_OPER_DORMANT) + if (link->operstate == IF_OPER_DORMANT) oper_state = "dormant"; else if (link_has_carrier(link->flags, link->operstate)) oper_state = "carrier"; |