diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2017-07-04 11:10:43 +0200 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2017-07-04 11:13:56 +0200 |
commit | 94afe3bf59b7ad6f3f7a4d0de609412b88387586 (patch) | |
tree | 4c6fccc1420e29d5fdd93cd2b8b3c29470e43599 /src/ndp.c | |
parent | 18df6cca092743a07be8e0f05d0a9ef941957b66 (diff) |
ndp: fix syslog tracing for netlink neigbor and address events
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src/ndp.c')
-rw-r--r-- | src/ndp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -437,7 +437,7 @@ static int cb_rtnl_valid(struct nl_msg *msg, _unused void *arg) return NL_SKIP; inet_ntop(AF_INET6, addr, ipbuf, sizeof(ipbuf)); - syslog(LOG_DEBUG, "Netlink %s %s%%%s", true ? "newaddr" : "deladdr", + syslog(LOG_DEBUG, "Netlink %s %s%%%s", add ? "newaddr" : "deladdr", ipbuf, iface->ifname); check_addr6_updates(iface); @@ -478,7 +478,7 @@ static int cb_rtnl_valid(struct nl_msg *msg, _unused void *arg) return NL_SKIP; inet_ntop(AF_INET6, addr, ipbuf, sizeof(ipbuf)); - syslog(LOG_DEBUG, "Netlink %s %s%%%s", true ? "newneigh" : "delneigh", + syslog(LOG_DEBUG, "Netlink %s %s%%%s", add ? "newneigh" : "delneigh", ipbuf, iface->ifname); if (ndm->ndm_flags & NTF_PROXY) { |