]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
lldpd: add interface to message about unguessable frame type
authorVincent Bernat <bernat@luffy.cx>
Wed, 29 Feb 2012 23:16:16 +0000 (00:16 +0100)
committerVincent Bernat <bernat@luffy.cx>
Wed, 29 Feb 2012 23:16:16 +0000 (00:16 +0100)
src/lldpd.c

index e1d603ae8ace5d4baa6db64e046dfb6f31c003a5..ceb93994b92935b1dc1eaa353711091d4ca91340 100644 (file)
@@ -415,7 +415,8 @@ lldpd_decode(struct lldpd *cfg, char *frame, int s,
                        }
        }
        if (cfg->g_protocols[i].mode == 0) {
-               LLOG_INFO("unable to guess frame type");
+               LLOG_INFO("unable to guess frame type on %s",
+                   hardware->h_ifname);
                return;
        }