]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
cdp: fix log message spelling
authorVincent Bernat <vincent@bernat.im>
Wed, 23 Sep 2015 08:25:02 +0000 (10:25 +0200)
committerVincent Bernat <vincent@bernat.im>
Wed, 23 Sep 2015 08:25:02 +0000 (10:25 +0200)
src/daemon/protocols/cdp.c

index 5dfa20eaf6718e63becdf486f34510cb7005d33c..8567679fd0b8f17416810fd640311b0a407fd0e9 100644 (file)
@@ -450,7 +450,7 @@ cdp_decode(struct lldpd *cfg, char *frame, int s,
                        break;
                case CDP_TLV_PORT:
                        if (tlv_len == 0) {
-                               log_warn("cd[", "too short port description received");
+                               log_warn("cdp", "too short port description received");
                                goto malformed;
                        }
                        if ((port->p_descr = (char *)calloc(1, tlv_len + 1)) == NULL) {