ndp: don't scan netlink attributes in case of netlink route event
authorHans Dedecker <dedeckeh@gmail.com>
Sat, 21 Jan 2017 14:40:13 +0000 (15:40 +0100)
committerHans Dedecker <dedeckeh@gmail.com>
Sat, 21 Jan 2017 14:47:20 +0000 (15:47 +0100)
commitc8ac572154981ca833dad92d7ee7aa62b88087cc
treee48087ff312db2f68125b40c399e2fa367e600cc
parentef3c5632c100fda0fa463a3ed56ff926f3f86b20
ndp: don't scan netlink attributes in case of netlink route event

In case a netlink route event is received for a default route
netlink data attributes were faulty processed as neigbor netlink
data. Fix this by not processing any netlink attribute for
any route event.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
src/ndp.c