aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/spnego
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2007-02-18 10:18:53 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2007-02-18 10:18:53 +0000
commit43e550c754298e9be2a83178bfb54f053a08eef0 (patch)
tree853e901a2010a6d134b4ae3d6b3bec24cf2aecc9 /asn1/spnego
parent4017f3c43a72ca3af1f5bd04c029ac71577af88b (diff)
Fix bug 1380:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1380 by registering the spnego dissector by name (e.g., call 'register_dissector()'). svn path=/trunk/; revision=20837
Diffstat (limited to 'asn1/spnego')
-rw-r--r--asn1/spnego/packet-spnego-template.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/asn1/spnego/packet-spnego-template.c b/asn1/spnego/packet-spnego-template.c
index eccfe49ab8..09fe17a32a 100644
--- a/asn1/spnego/packet-spnego-template.c
+++ b/asn1/spnego/packet-spnego-template.c
@@ -689,8 +689,8 @@ dissect_spnego_krb5_wrap_base(tvbuff_t *tvb, int offset, packet_info *pinfo
* GSS_Wrap() tokens to look the same....
*/
if ((sgn_alg == KRB_SGN_ALG_HMAC) ||
- /* there also seems to be a confounder for DES MAC MD5 - certainly seen when using with
- SASL with LDAP between a Java client and Active Directory. If this breaks other things
+ /* there also seems to be a confounder for DES MAC MD5 - certainly seen when using with
+ SASL with LDAP between a Java client and Active Directory. If this breaks other things
we may need to make this an option. gal 17/2/06 */
(sgn_alg == KRB_SGN_ALG_DES_MAC_MD5)) {
proto_tree_add_item(tree, hf_spnego_krb5_confounder, tvb, offset, 8,
@@ -1026,6 +1026,8 @@ void proto_register_spnego(void) {
/* Register protocol */
proto_spnego = proto_register_protocol(PNAME, PSNAME, PFNAME);
+ register_dissector("spnego", dissect_spnego, proto_spnego);
+
proto_spnego_krb5 = proto_register_protocol("SPNEGO-KRB5",
"SPNEGO-KRB5",
"spnego-krb5");