Skip to content
Browse files

addr: add address flag IFA_F_NOPREFIXROUTE

Signed-off-by: Thomas Haller <thaller@redhat.com>
  • Loading branch information...
1 parent aa8877d commit b203c89d862a6ae3e82122fe1b6882b427d53551 @thom311 committed Jan 8, 2014
Showing with 2 additions and 0 deletions.
  1. +1 −0 include/linux/if_addr.h
  2. +1 −0 lib/route/addr.c
View
1 include/linux/if_addr.h
@@ -49,6 +49,7 @@ enum {
#define IFA_F_TENTATIVE 0x40
#define IFA_F_PERMANENT 0x80
#define IFA_F_MANAGETEMPADDR 0x100
+#define IFA_F_NOPREFIXROUTE 0x200
struct ifa_cacheinfo {
__u32 ifa_prefered;
View
1 lib/route/addr.c
@@ -1057,6 +1057,7 @@ static const struct trans_tbl addr_flags[] = {
__ADD(IFA_F_TENTATIVE, tentative)
__ADD(IFA_F_PERMANENT, permanent)
__ADD(IFA_F_MANAGETEMPADDR, mngtmpaddr)
+ __ADD(IFA_F_NOPREFIXROUTE, noprefixroute)
};
char *rtnl_addr_flags2str(int flags, char *buf, size_t size)

0 comments on commit b203c89

Please sign in to comment.
Something went wrong with that request. Please try again.