summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTobias Jungel <tobias.jungel@bisdn.de>2018-04-13 09:10:43 (GMT)
committerThomas Haller <thaller@redhat.com>2018-06-25 12:50:03 (GMT)
commita153517c5cae97c937feddf1e9b53e29efe009b7 (patch)
tree19a159189c8828111e6048daf9d5138c832face5 /lib
parentcd5f6f842905b83d8c49f3eacb17273997036552 (diff)
downloadlibnl-a153517c5cae97c937feddf1e9b53e29efe009b7.zip
libnl-a153517c5cae97c937feddf1e9b53e29efe009b7.tar.gz
libnl-a153517c5cae97c937feddf1e9b53e29efe009b7.tar.bz2
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 7ea3ea2..876f2c2 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)