]> The Tcpdump Group git mirrors - tcpdump/commitdiff
From Carles Kishimoto <[email protected]>:
authorhannes <hannes>
Mon, 26 Mar 2007 09:30:16 +0000 (09:30 +0000)
committerhannes <hannes>
Mon, 26 Mar 2007 09:30:16 +0000 (09:30 +0000)
  hexdump unknown TLVs

print-vtp.c

index 34c5c724f5c2e75bbbbb571882ff6591ee35dd3c..7631c6f618424b24e26a8659eebc1612f95dbb7b 100644 (file)
@@ -316,12 +316,18 @@ vtp_print (const u_char *pptr, u_int length)
                            tlv_value);
                     break;
 
+                    /*
+                     * FIXME those are the defined TLVs that lack a decoder
+                     * you are welcome to contribute code ;-)
+                     */
+
                 case VTP_VLAN_SOURCE_ROUTING_RING_NUMBER:
                 case VTP_VLAN_SOURCE_ROUTING_BRIDGE_NUMBER:
                 case VTP_VLAN_PARENT_VLAN:
                 case VTP_VLAN_TRANS_BRIDGED_VLAN:
                 case VTP_VLAN_ARP_HOP_COUNT:
                 default:
+                   print_unknown_data(tptr, "\n\t\t  ", 2 + tlv_len*2);
                     break;
                 }
                 len -= 2 + tlv_len*2;