From 0e884cd210eca747172b4b0ce03d4d5b446ff4be Mon Sep 17 00:00:00 2001 From: hannes Date: Fri, 23 Mar 2007 08:18:43 +0000 Subject: remove unused variables / tokentables --- print-vtp.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'print-vtp.c') diff --git a/print-vtp.c b/print-vtp.c index 7c3600cc..6f3c18ba 100644 --- a/print-vtp.c +++ b/print-vtp.c @@ -72,13 +72,6 @@ static struct tok vtp_header_values[] = { { 0, NULL } }; -static struct tok vtp_stp_type_values[] = { - { 1, "SRT"}, - { 2, "SRB"}, - { 3, "Auto"}, - { 0, NULL } -}; - static struct tok vtp_vlan_type_values[] = { { 0x01, "Ethernet"}, { 0x02, "FDDI"}, @@ -97,7 +90,7 @@ static struct tok vtp_vlan_status[] = { void vtp_print (const u_char *pptr, u_int length) { - int type, len, tlv_len; + int type, len; const u_char *tptr; const struct vtp_vlan_ *vtp_vlan; -- cgit v1.2.1