aboutsummaryrefslogtreecommitdiffstats
path: root/packet-eap.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-09-08 00:07:40 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-09-08 00:07:40 +0000
commit67af148b6528330bb076183046dff9939d690b44 (patch)
treefa241ef7ebe90823f809f9122080f31309dc3ed0 /packet-eap.c
parent089c3b7c137393007282a690601e045f44f08b9e (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6224 f5534014-38df-0310-8fa8-9805f1628bb7
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;
/*********************************************************************