From: Vincent Bernat Date: Wed, 30 May 2012 08:41:23 +0000 (+0200) Subject: lldpd: demote "unable to guess" to debug X-Git-Tag: 0.6.1~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=198bbe4085aba127023cea6f64d54fbb78d645fc;p=thirdparty%2Flldpd.git lldpd: demote "unable to guess" to debug This message can happen fairly often if some protocol is not enabled in lldpd without being a problem. It fills system daemon logs. Send it only to debug level. This should close #19. --- diff --git a/src/lldpd.c b/src/lldpd.c index 702ef3f6..1b75738a 100644 --- a/src/lldpd.c +++ b/src/lldpd.c @@ -461,7 +461,7 @@ lldpd_decode(struct lldpd *cfg, char *frame, int s, } } if (cfg->g_protocols[i].mode == 0) { - LLOG_INFO("unable to guess frame type on %s", + LLOG_DEBUG("unable to guess frame type on %s", hardware->h_ifname); return; }