diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2017-04-27 18:16:11 +0200 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2017-04-27 18:16:11 +0200 |
commit | 7dff5b40fa81949881f04abdaa9d51e8008e1246 (patch) | |
tree | fe27b428d4cc2cca8d968241457d8571168d81e9 | |
parent | a54afb5092cbd69097d10f5a495ddbd94fd9e2a4 (diff) |
ndp: fix wrong interface name in syslog message
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
-rw-r--r-- | src/ndp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } } |