]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
lldpd: demote "unable to guess" to debug
authorVincent Bernat <bernat@luffy.cx>
Wed, 30 May 2012 08:41:23 +0000 (10:41 +0200)
committerVincent Bernat <bernat@luffy.cx>
Wed, 30 May 2012 08:42:20 +0000 (10:42 +0200)
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.

src/lldpd.c

index 702ef3f628209a5d187a2279b3ebe8e394b90f5c..1b75738a97c6f1883f2959c6cbdca7c70713b5dd 100644 (file)
@@ -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;
        }