From 8318e937244ea97ea3e91db15c39e4a17577934f Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Wed, 20 Mar 2019 16:33:19 +0100 Subject: [PATCH] netlink: fix neighbor event handling (FS#2160) Commit a54cee0 introduced a regression in the handling of netlink neighbor events as it did not set the interface pointer in the netevent_handler_info struct resulting into a breakage of ndp relay mode Signed-off-by: Hans Dedecker --- src/netlink.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/netlink.c b/src/netlink.c index abd326e..c672748 100644 --- a/src/netlink.c +++ b/src/netlink.c @@ -416,6 +416,7 @@ static int handle_rtm_neigh(struct nlmsghdr *hdr, bool add) syslog(LOG_DEBUG, "Netlink %s %s on %s", true ? "newneigh" : "delneigh", buf, iface->name); + event_info.iface = iface; event_info.neigh.state = ndm->ndm_state; event_info.neigh.flags = ndm->ndm_flags; -- 2.25.1