summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-address.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/networkd-address.c')
-rw-r--r--src/network/networkd-address.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/network/networkd-address.c b/src/network/networkd-address.c
index e6f30a2842..885cda3a03 100644
--- a/src/network/networkd-address.c
+++ b/src/network/networkd-address.c
@@ -978,10 +978,7 @@ int config_parse_address_scope(const char *unit,
bool address_is_ready(const Address *a) {
assert(a);
- if (a->family == AF_INET6)
- return !(a->flags & IFA_F_TENTATIVE);
- else
- return !(a->flags & (IFA_F_TENTATIVE | IFA_F_DEPRECATED));
+ return !(a->flags & IFA_F_TENTATIVE);
}
int address_section_verify(Address *address) {