From ec31d1d0bc8266e69129847880b37155a9d91dfe Mon Sep 17 00:00:00 2001 From: hannes Date: Thu, 20 Mar 2008 09:33:52 +0000 Subject: [PATCH] bugfix in the lldp printer, when referencing the key for printing aggregation values --- print-lldp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/print-lldp.c b/print-lldp.c index 13c3bad0..36b99343 100644 --- a/print-lldp.c +++ b/print-lldp.c @@ -20,7 +20,7 @@ #ifndef lint static const char rcsid[] _U_ = -"@(#) $Header: /tcpdump/master/tcpdump/print-lldp.c,v 1.7.2.2 2008-01-09 09:44:39 hannes Exp $"; +"@(#) $Header: /tcpdump/master/tcpdump/print-lldp.c,v 1.7.2.3 2008-03-20 09:33:52 hannes Exp $"; #endif #ifdef HAVE_CONFIG_H @@ -635,7 +635,7 @@ lldp_private_8023_print(const u_char *tptr) case LLDP_PRIVATE_8023_SUBTYPE_LINKAGGR: printf("\n\t aggregation status [%s], aggregation port ID %u", - bittok2str(lldp_aggregation_values, "none", (*tptr+4)), + bittok2str(lldp_aggregation_values, "none", *(tptr+4)), EXTRACT_32BITS(tptr+5)); break; -- 2.39.5