#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/tcpdump/print-802_11.c,v 1.39 2005-11-13 19:59:19 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-802_11.c,v 1.40 2005-11-13 20:03:21 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
return;
memcpy(&pbody->challenge, p + offset, 2);
offset += 2;
- if (pbody->challenge.length == 0) {
+ if (pbody->challenge.length != 0) {
if (pbody->challenge.length > 253)
return;
if (!TTEST2(*(p + offset), pbody->challenge.length))