summaryrefslogtreecommitdiff
path: root/print-vtp.c
diff options
context:
space:
mode:
authorhannes <hannes>2007-03-23 08:18:43 +0000
committerhannes <hannes>2007-03-23 08:18:43 +0000
commit0e884cd210eca747172b4b0ce03d4d5b446ff4be (patch)
treeabc747e6e6985cbcdb4a2dc6f387b9734dd1ee3e /print-vtp.c
parentee1afebee8b7e67e3e5d86a2cdc8643845fca5f7 (diff)
downloadtcpdump-0e884cd210eca747172b4b0ce03d4d5b446ff4be.tar.gz
remove unused variables / tokentables
Diffstat (limited to 'print-vtp.c')
-rw-r--r--print-vtp.c9
1 files changed, 1 insertions, 8 deletions
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;