aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorOlga Kornievskaia <olga.kornievskaia@gmail.com>2016-10-12 15:06:54 -0400
committerMichael Mann <mmann78@netscape.net>2016-10-12 22:48:23 +0000
commite4fd25060e2e5ba22e91bba6a8318f3e720e8384 (patch)
tree24e6d72ad13541ba017ba9c75787bf3e879a39f2 /epan
parent5ace3b9405e4845ad7df1a3b2966af7bca6c2194 (diff)
nfs: Fixing COPY decoding to match the spec
Current decoding of the COPY operation gets a netloc4 instead of a stateid from the write_response4 structure. Change-Id: Icde8adde8613d50e7a03ee779aad4c62f6f195f4 Reviewed-on: https://code.wireshark.org/review/18169 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-nfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-nfs.c b/epan/dissectors/packet-nfs.c
index 707fff81a7..010db6e967 100644
--- a/epan/dissectors/packet-nfs.c
+++ b/epan/dissectors/packet-nfs.c
@@ -8981,8 +8981,7 @@ dissect_nfs4_write_response(tvbuff_t *tvb, int offset, proto_tree *tree)
ss_tree = proto_item_add_subtree(ss_fitem,
ett_nfs4_callback_stateids_sub);
-
- offset = dissect_nfs4_netloc(tvb, offset, ss_tree);
+ offset = dissect_nfs4_stateid(tvb, offset, ss_tree, NULL);
}
offset = dissect_rpc_uint64(tvb, tree, hf_nfs4_length, offset);