diff options
Diffstat (limited to 'packet-gssapi.c')
-rw-r--r-- | packet-gssapi.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/packet-gssapi.c b/packet-gssapi.c index dd2c07bbf4..bddf4baa4e 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.7 2002/08/28 21:00:14 jmayer Exp $ + * $Id: packet-gssapi.c,v 1.8 2002/08/29 05:26:45 sharpe Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -140,6 +140,13 @@ dissect_gssapi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) goto done; } + /* FIXME! + * If we do not recognise an Application class, then + * then we are probably dealing with an inner context + * token, and we should retrieve the dissector from + * the conversation that exists or we created from pinfo + */ + if (!(cls == ASN1_APL && con == ASN1_CON && tag == 0)) { proto_tree_add_text( subtree, tvb, offset, 0, @@ -160,6 +167,12 @@ dissect_gssapi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) goto done; } + /* FIXME! + * Here we should create a conversation if needed and + * save the OID and dissector handle in it for the + * GSSAPI protocol. + */ + oid_string = format_oid(oid, oid_len); proto_tree_add_text(subtree, tvb, offset, nbytes, "OID: %s", |