diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-11-21 08:53:11 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-11-21 08:53:11 +0000 |
commit | b0ecf3f7453e7ce75d57311658d6a906cc9cbae1 (patch) | |
tree | 4a7389ed4e00e1df4030037f6fa330c64f6d2e2f /epan/dissectors/packet-rpc.c | |
parent | 11df1e182b5300fae1710a66dc7d8710b7994eed (diff) |
From: Burlyga, Alex
Hi,
Attached is a patch for packet-rpc.c and packet-rpc.h.
Update support for pseudo-flavors that used in RPCSEC_GSS
Also fixed a problem where rpc.reqframe and rpc.repframe where
reversed.
Alex.
svn path=/trunk/; revision=19946
Diffstat (limited to 'epan/dissectors/packet-rpc.c')
-rw-r--r-- | epan/dissectors/packet-rpc.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/epan/dissectors/packet-rpc.c b/epan/dissectors/packet-rpc.c index e8bf6a780d..3a585144a5 100644 --- a/epan/dissectors/packet-rpc.c +++ b/epan/dissectors/packet-rpc.c @@ -102,6 +102,15 @@ const value_string rpc_auth_flavor[] = { { AUTH_DES, "AUTH_DES" }, { RPCSEC_GSS, "RPCSEC_GSS" }, { AUTH_GSSAPI, "AUTH_GSSAPI" }, + { RPCSEC_GSS_KRB5, "RPCSEC_GSS_KRB5" }, + { RPCSEC_GSS_KRB5I, "RPCSEC_GSS_KRB5I" }, + { RPCSEC_GSS_KRB5P, "RPCSEC_GSS_KRB5P" }, + { RPCSEC_GSS_LIPKEY, "RPCSEC_GSS_LIPKEY" }, + { RPCSEC_GSS_LIPKEY_I, "RPCSEC_GSS_LIPKEY_I" }, + { RPCSEC_GSS_LIPKEY_P, "RPCSEC_GSS_LIPKEY_P" }, + { RPCSEC_GSS_SPKM3, "RPCSEC_GSS_SPKM3" }, + { RPCSEC_GSS_SPKM3I, "RPCSEC_GSS_SPKM3I" }, + { RPCSEC_GSS_SPKM3P, "RPCSEC_GSS_SPKM3P" }, { 0, NULL } }; @@ -2196,7 +2205,7 @@ dissect_rpc_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, if(rpc_call && rpc_call->rep_num){ proto_item *tmp_item; - tmp_item=proto_tree_add_uint_format(rpc_tree, hf_rpc_repframe, + tmp_item=proto_tree_add_uint_format(rpc_tree, hf_rpc_reqframe, tvb, 0, 0, rpc_call->rep_num, "The reply to this request is in frame %u", rpc_call->rep_num); @@ -2312,7 +2321,7 @@ dissect_rpc_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, if(rpc_call && rpc_call->req_num){ proto_item *tmp_item; - tmp_item=proto_tree_add_uint_format(rpc_tree, hf_rpc_reqframe, + tmp_item=proto_tree_add_uint_format(rpc_tree, hf_rpc_repframe, tvb, 0, 0, rpc_call->req_num, "This is a reply to a request in frame %u", rpc_call->req_num); |