From: Sam Tannous Date: Tue, 8 Jul 2014 19:15:48 +0000 (-0400) Subject: Add error code to the multicast address add/delete failure msg X-Git-Tag: 0.7.10~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0469161dd554155c759a63287722af1b9e27d65e;p=thirdparty%2Flldpd.git Add error code to the multicast address add/delete failure msg Move mac filter delete info msg to debug and add error to the multicast address add/delete failure msg. Signed-off-by: Roopa Prabhu Signed-off-by: Sam Tannous --- diff --git a/src/daemon/interfaces.c b/src/daemon/interfaces.c index 9c9d024f..d29eacc2 100644 --- a/src/daemon/interfaces.c +++ b/src/daemon/interfaces.c @@ -40,11 +40,11 @@ interfaces_setup_multicast(struct lldpd *cfg, const char *name, cfg->g_protocols[i].mac, !remove)) != 0) { errno = rc; if (errno != ENOENT) - log_info("interfaces", - "unable to %s %s address to multicast filter for %s", + log_debug("interfaces", + "unable to %s %s address to multicast filter for %s (%s)", (remove)?"delete":"add", cfg->g_protocols[i].name, - name); + name, strerror(rc)); } } }