summaryrefslogtreecommitdiffstats
path: root/lib/route
diff options
context:
space:
mode:
authorTobias Jungel <Tobias.Jungel@gmail.com>2015-06-16 11:43:07 (GMT)
committerThomas Haller <thaller@redhat.com>2015-06-26 15:20:38 (GMT)
commit6a9335f101e22cd5eaba4dfcf0a44e2c3097b4ab (patch)
tree2f8278b0a099e827fa6cec307d73c95fcd6dd977 /lib/route
parent12e87e444dc4ffd4e5d3ca2e99b08e4e22665a86 (diff)
downloadlibnl-6a9335f101e22cd5eaba4dfcf0a44e2c3097b4ab.zip
libnl-6a9335f101e22cd5eaba4dfcf0a44e2c3097b4ab.tar.gz
libnl-6a9335f101e22cd5eaba4dfcf0a44e2c3097b4ab.tar.bz2
neigh: fix type for NUD_NOARP flag in trans_tbl
Translate NUD_NOARP to "noarp", instead of "norarp". https://github.com/thom311/libnl/pull/79 Fixes: 44d362409d5469aed47d19e7908d19bd194493a4 Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'lib/route')
-rw-r--r--lib/route/neigh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/route/neigh.c b/lib/route/neigh.c
index 1a0da93..7fe5fae 100644
--- a/lib/route/neigh.c
+++ b/lib/route/neigh.c
@@ -746,7 +746,7 @@ static const struct trans_tbl neigh_states[] = {
__ADD(NUD_DELAY, delay),
__ADD(NUD_PROBE, probe),
__ADD(NUD_FAILED, failed),
- __ADD(NUD_NOARP, norarp),
+ __ADD(NUD_NOARP, noarp),
__ADD(NUD_PERMANENT, permanent),
};