commit | 4568a6f8423fbb25dee7ccb539ed215f391071b0 | [log] [tgz] |
---|---|---|
author | Vladislav Grishenko <themiron@mail.ru> | Mon Aug 19 16:07:07 2013 +0100 |
committer | Simon Kelley <simon@thekelleys.org.uk> | Mon Aug 19 16:07:07 2013 +0100 |
tree | 1d7b63872b75fe002fa460e6a32be9dd82de948a | |
parent | 5c72bb9e33285027cd17c7ace1527954669f3ebd [diff] [blame] |
IFACE_PERMANENT interface flag in enumeration.
diff --git a/src/netlink.c b/src/netlink.c index 5e4d924..43cd21e 100644 --- a/src/netlink.c +++ b/src/netlink.c
@@ -265,6 +265,9 @@ if (ifa->ifa_flags & IFA_F_DEPRECATED) flags |= IFACE_DEPRECATED; + + if (ifa->ifa_flags & IFA_F_PERMANENT) + flags |= IFACE_PERMANENT; if (addrp && callback_ok) if (!((*callback)(addrp, (int)(ifa->ifa_prefixlen), (int)(ifa->ifa_scope),