From: hannes Date: Mon, 26 Mar 2007 09:30:16 +0000 (+0000) Subject: From Carles Kishimoto : X-Git-Tag: tcpdump-4.0.0~144 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/ecfc7918a049cbc52ae87138c9a01cfb9f3dfa3f From Carles Kishimoto : hexdump unknown TLVs --- diff --git a/print-vtp.c b/print-vtp.c index 34c5c724..7631c6f6 100644 --- a/print-vtp.c +++ b/print-vtp.c @@ -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;