]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-cdp.c
Add changes in 4.2.1.
[tcpdump] / print-cdp.c
index bef7f5eacadd701be847be9c2c5a6ff08d4289b6..7bc617a963570222e8a7c53932e06ef554290c68 100644 (file)
@@ -124,7 +124,7 @@ cdp_print(const u_char *pptr, u_int length, u_int caplen)
                                tok2str(cdp_tlv_values,"unknown field type", type),
                                type,
                                len,
-                               len>1 ? "s" : ""); /* plural */
+                               PLURAL_SUFFIX(len)); /* plural */
 
                     switch (type) {