aboutsummaryrefslogtreecommitdiffstats
path: root/packet-eap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-09-08 00:07:40 +0000
committerGuy Harris <guy@alum.mit.edu>2002-09-08 00:07:40 +0000
commitedd663a93ef3e9335db2db8c0cd9d20e6ae15604 (patch)
treefa241ef7ebe90823f809f9122080f31309dc3ed0 /packet-eap.c
parent2d3a5612f6b3b0c2359153aa8fe8e230a8d9a3a9 (diff)
All the multi-byte integral quantities are big-endian, so let's pretend
that the desired authentication type is, too. Don't bother updating the offset after dissecting the desired authentication type - we don't update it after dissecting the identity or notification. svn path=/trunk/; revision=6224
Diffstat (limited to 'packet-eap.c')
-rw-r--r--packet-eap.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/packet-eap.c b/packet-eap.c
index 3a2448d8b1..7bd71f33c3 100644
--- a/packet-eap.c
+++ b/packet-eap.c
@@ -2,7 +2,7 @@
* Routines for EAP Extensible Authentication Protocol dissection
* RFC 2284
*
- * $Id: packet-eap.c,v 1.29 2002/09/07 23:49:58 sahlberg Exp $
+ * $Id: packet-eap.c,v 1.30 2002/09/08 00:07:40 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -415,8 +415,7 @@ dissect_eap_data(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
case EAP_TYPE_NAK:
if (tree) {
proto_tree_add_item(eap_tree, hf_eap_type_nak, tvb,
- offset, 1, TRUE);
- offset++;
+ offset, 1, FALSE);
}
break;
/*********************************************************************