From: Hans Dedecker Date: Thu, 27 Apr 2017 16:16:11 +0000 (+0200) Subject: ndp: fix wrong interface name in syslog message X-Git-Url: http://git.archive.openwrt.org/?a=commitdiff_plain;h=7dff5b40fa81949881f04abdaa9d51e8008e1246;p=project%2Fodhcpd.git ndp: fix wrong interface name in syslog message Signed-off-by: Hans Dedecker --- diff --git a/src/ndp.c b/src/ndp.c index 97a4713..1e3714e 100644 --- a/src/ndp.c +++ b/src/ndp.c @@ -407,10 +407,10 @@ static void setup_addr_for_relaying(struct in6_addr *addr, struct interface *ifa if (odhcpd_setup_proxy_neigh(addr, c, add)) syslog(LOG_DEBUG, "Failed to %s proxy neighbour entry %s%%%s", - add ? "add" : "delete", ipbuf, iface->ifname); + add ? "add" : "delete", ipbuf, c->ifname); else syslog(LOG_DEBUG, "%s proxy neighbour entry %s%%%s", - add ? "Added" : "Deleted", ipbuf, iface->ifname); + add ? "Added" : "Deleted", ipbuf, c->ifname); } }