summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTobias Jungel <tobias.jungel@bisdn.de>2018-04-13 11:10:43 +0200
committerThomas Haller <thaller@redhat.com>2018-06-25 14:50:03 +0200
commita153517c5cae97c937feddf1e9b53e29efe009b7 (patch)
tree19a159189c8828111e6048daf9d5138c832face5 /lib
parentcd5f6f842905b83d8c49f3eacb17273997036552 (diff)
downloadlibnl-a153517c5cae97c937feddf1e9b53e29efe009b7.tar.gz
neigh: update neighbour.h and add missing flags
NTF_EXT_LEARNED, NTF_OFFLOADED and NTF_MASTER are added to neigh_flags. https://github.com/thom311/libnl/pull/186
Diffstat (limited to 'lib')
-rw-r--r--lib/route/neigh.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/route/neigh.c b/lib/route/neigh.c
index 7ea3ea22..876f2c28 100644
--- a/lib/route/neigh.c
+++ b/lib/route/neigh.c
@@ -894,6 +894,9 @@ static const struct trans_tbl neigh_flags[] = {
__ADD(NTF_PROXY, proxy),
__ADD(NTF_ROUTER, router),
__ADD(NTF_SELF, self),
+ __ADD(NTF_MASTER, master),
+ __ADD(NTF_EXT_LEARNED, ext_learned),
+ __ADD(NTF_OFFLOADED, offloaded),
};
char * rtnl_neigh_flags2str(int flags, char *buf, size_t len)