diff options
author | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-02-16 09:42:10 +0000 |
---|---|---|
committer | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-02-16 09:42:10 +0000 |
commit | f530bb1355b925fd87171ea1e5ea9d386d7663ce (patch) | |
tree | 708f5a9c8da8195e694d3c25938e82a87b5466c8 /packet-kpasswd.c | |
parent | 442e917c8940d50a8069452d7bd5f5f83038ac4e (diff) |
Update to kpasswd so that it calls the kerberos dissector to dissect the
AP-REQ and KRB-PRIV ans.1 encoded kerberos blobs
KRB-PRIV (application 21) is not yet supported/handled by the existing kerberos dissector
but will be after next release when the new one makes it test run.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10067 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-kpasswd.c')
-rw-r--r-- | packet-kpasswd.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packet-kpasswd.c b/packet-kpasswd.c index c0d708adb2..c26444686b 100644 --- a/packet-kpasswd.c +++ b/packet-kpasswd.c @@ -4,7 +4,7 @@ * * See RFC 3244 * - * $Id: packet-kpasswd.c,v 1.1 2003/11/07 05:26:27 sahlberg Exp $ + * $Id: packet-kpasswd.c,v 1.2 2004/02/16 09:42:10 sahlberg Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -30,6 +30,7 @@ #endif #include <epan/packet.h> +#include "packet-kerberos.h" #include "prefs.h" static int proto_kpasswd = -1; @@ -65,7 +66,7 @@ dissect_kpasswd_ap_req_data(packet_info *pinfo _U_, tvbuff_t *tvb, proto_tree *p it=proto_tree_add_item(parent_tree, hf_kpasswd_ap_req_data, tvb, 0, -1, FALSE); tree=proto_item_add_subtree(it, ett_ap_req_data); } - /* XXX we should dissect the AP_REQ data here */ + dissect_kerberos_main(tvb, pinfo, tree, FALSE); } static void @@ -78,7 +79,7 @@ dissect_kpasswd_krb_priv_message(packet_info *pinfo _U_, tvbuff_t *tvb, proto_tr it=proto_tree_add_item(parent_tree, hf_kpasswd_krb_priv_message, tvb, 0, -1, FALSE); tree=proto_item_add_subtree(it, ett_krb_priv_message); } - /* XXX we should dissect the KRB-PRIV data here */ + dissect_kerberos_main(tvb, pinfo, tree, FALSE); } |