]> The Tcpdump Group git mirrors - tcpdump/commitdiff
As we're always printing "LLDP, length XXX", don't do it for the system name.
authorGuy Harris <[email protected]>
Sat, 30 Jun 2012 23:10:40 +0000 (16:10 -0700)
committerGuy Harris <[email protected]>
Sat, 30 Jun 2012 23:10:40 +0000 (16:10 -0700)
print-lldp.c

index 377f2cdedfa7f2edd66fb74ea2fb7c861109e5df..297f07a257f893b4c48f9de9e0cc555c98f271a9 100644 (file)
@@ -1320,14 +1320,8 @@ lldp_print(register const u_char *pptr, register u_int len) {
              * The system name is also print in non-verbose mode
              * similar to the CDP printer.
              */
-            if (vflag) {
-                printf(": ");
-                safeputs((const char *)tptr, tlv_len);
-            } else {
-                printf("LLDP, name ");
-                safeputs((const char *)tptr, tlv_len);
-                printf(", length %u", len);
-            }
+            printf(": ");
+            safeputs((const char *)tptr, tlv_len);
             break;
 
         case LLDP_SYSTEM_DESCR_TLV: