aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rpc.c
diff options
context:
space:
mode:
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2006-11-21 08:53:11 +0000
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2006-11-21 08:53:11 +0000
commit8f90c64aff7ff9134f0313cc4bb36a6795b07cf0 (patch)
tree4a7389ed4e00e1df4030037f6fa330c64f6d2e2f /epan/dissectors/packet-rpc.c
parent3069ddddae254d5ea40a05104bee9dc7ffbf447e (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19946 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-rpc.c')
-rw-r--r--epan/dissectors/packet-rpc.c13
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);