summaryrefslogtreecommitdiffstats
path: root/avahi-core/iface-linux.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-06-28 22:02:20 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-28 22:02:27 +0200
commit1fbf43bbd92a7ac7c07de6253f7a2efcc9a93c47 (patch)
treef6d2eadb98157d9b9fe2e1c233700fcc72e80168 /avahi-core/iface-linux.c
parente31663c4a2fb2f8bf22efc237c3092242cc9bac2 (diff)
iface: check for IFA_F_DEPRECATED
http://avahi.org/ticket/211
Diffstat (limited to 'avahi-core/iface-linux.c')
-rw-r--r--avahi-core/iface-linux.c1
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);