diff options
Diffstat (limited to 'avahi-core/iface-linux.c')
-rw-r--r-- | avahi-core/iface-linux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/avahi-core/iface-linux.c b/avahi-core/iface-linux.c index 2782697..a1b7f73 100644 --- a/avahi-core/iface-linux.c +++ b/avahi-core/iface-linux.c @@ -238,6 +238,7 @@ static void netlink_callback(AvahiNetlink *nl, struct nlmsghdr *n, void* userdat /* Update the scope field for the address */ addr->global_scope = ifaddrmsg->ifa_scope == RT_SCOPE_UNIVERSE || ifaddrmsg->ifa_scope == RT_SCOPE_SITE; + addr->deprecated = !!(ifaddrmsg->ifa_flags & IFA_F_DEPRECATED); } else { AvahiInterfaceAddress *addr; assert(n->nlmsg_type == RTM_DELADDR); |