summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Johansson <jonas.johansson@westermo.se>2016-04-29 14:26:22 (GMT)
committerThomas Haller <thaller@redhat.com>2016-04-29 14:38:47 (GMT)
commit648338a2170854952e605175af141ee27cc8dd2b (patch)
tree5fe1c0f869e9f1ee99f02565743a3988add6fed5
parentfc8accf640d412d50c41881692c62ab7789383a4 (diff)
downloadlibnl-648338a2170854952e605175af141ee27cc8dd2b.zip
libnl-648338a2170854952e605175af141ee27cc8dd2b.tar.gz
libnl-648338a2170854952e605175af141ee27cc8dd2b.tar.bz2
neigh: support neighbour flag NTF_SELF
Signed-off-by: Jonas Johansson <jonas.johansson@westermo.se> Signed-off-by: Thomas Haller <thaller@redhat.com> https://github.com/thom311/libnl/pull/96
-rw-r--r--lib/route/neigh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/route/neigh.c b/lib/route/neigh.c
index 9fdcaca..260e8b4 100644
--- a/lib/route/neigh.c
+++ b/lib/route/neigh.c
@@ -35,6 +35,7 @@
* NTF_USE
* NTF_PROXY
* NTF_ROUTER
+ * NTF_SELF
* @endcode
*
* @par Neighbour Identification
@@ -821,6 +822,7 @@ static const struct trans_tbl neigh_flags[] = {
__ADD(NTF_USE, use),
__ADD(NTF_PROXY, proxy),
__ADD(NTF_ROUTER, router),
+ __ADD(NTF_SELF, self),
};
char * rtnl_neigh_flags2str(int flags, char *buf, size_t len)