summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2017-04-27 18:16:11 +0200
committerHans Dedecker <dedeckeh@gmail.com>2017-04-27 18:16:11 +0200
commit7dff5b40fa81949881f04abdaa9d51e8008e1246 (patch)
treefe27b428d4cc2cca8d968241457d8571168d81e9
parenta54afb5092cbd69097d10f5a495ddbd94fd9e2a4 (diff)
ndp: fix wrong interface name in syslog message
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
-rw-r--r--src/ndp.c4
1 files changed, 2 insertions, 2 deletions
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);
}
}