aboutsummaryrefslogtreecommitdiffstats
path: root/packet-gssapi.c
diff options
context:
space:
mode:
authorsharpe <sharpe@f5534014-38df-0310-8fa8-9805f1628bb7>2002-08-31 20:50:08 +0000
committersharpe <sharpe@f5534014-38df-0310-8fa8-9805f1628bb7>2002-08-31 20:50:08 +0000
commit534a85babaecb6e286f708e42f2da7f96638396f (patch)
tree0f3b3a2cce305dc3216e5d6a72052bc32db4d489 /packet-gssapi.c
parent890062b11db2bb05a90da0d7711e6190127b8ebb (diff)
Make sure we stop processing GSS-API tokens when we actually have finished
and not try to parse unrelated info in the TVB. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6162 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-gssapi.c')
-rw-r--r--packet-gssapi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-gssapi.c b/packet-gssapi.c
index 6135a2e990..2f8dae4fcd 100644
--- a/packet-gssapi.c
+++ b/packet-gssapi.c
@@ -2,7 +2,7 @@
* Dissector for GSS-API tokens as described in rfc2078, section 3.1
* Copyright 2002, Tim Potter <tpot@samba.org>
*
- * $Id: packet-gssapi.c,v 1.12 2002/08/31 20:09:26 guy Exp $
+ * $Id: packet-gssapi.c,v 1.13 2002/08/31 20:50:08 sharpe Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -196,6 +196,7 @@ dissect_gssapi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
hnd.offset = offset;
oid_tvb = tvb_new_subset(tvb, offset, -1, -1);
call_dissector(handle, oid_tvb, pinfo, subtree);
+ goto done; /* We are finished here */
}
}