summaryrefslogtreecommitdiffhomepage
path: root/src/ndp.c
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2014-01-17 20:06:46 +0100
committerSteven Barth <steven@midlink.org>2014-01-17 20:06:46 +0100
commit72fec39d4446d9bb9416763043c79d5135c84fbd (patch)
treeabae7d4d3abb47c9fca4b1e24e1717fa96f2d444 /src/ndp.c
parent3e48070e686c10a6c01b5a8d706151d6ae0c932a (diff)
Don't enable relay master if no slaves are present
Diffstat (limited to 'src/ndp.c')
-rw-r--r--src/ndp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ndp.c b/src/ndp.c
index 150d360..02c2dbd 100644
--- a/src/ndp.c
+++ b/src/ndp.c
@@ -234,7 +234,7 @@ static void handle_solicit(void *addr, void *data, size_t len,
char ipbuf[INET6_ADDRSTRLEN];
inet_ntop(AF_INET6, &req->nd_ns_target, ipbuf, sizeof(ipbuf));
- syslog(LOG_NOTICE, "Got a NS for %s", ipbuf);
+ syslog(LOG_DEBUG, "Got a NS for %s", ipbuf);
uint8_t mac[6];
odhcpd_get_mac(iface, mac);
@@ -246,7 +246,7 @@ static void handle_solicit(void *addr, void *data, size_t len,
struct ndp_neighbor *n = find_neighbor(&req->nd_ns_target, false);
if (n && (n->iface || abs(n->timeout - now) < 5)) {
- syslog(LOG_NOTICE, "%s is on %s", ipbuf,
+ syslog(LOG_DEBUG, "%s is on %s", ipbuf,
(n->iface) ? n->iface->ifname : "<pending>");
if (!n->iface || n->iface == iface)
return;