diff options
author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2014-03-15 08:12:34 -0700 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-03-16 18:01:19 +0000 |
commit | 51f26ab49a3fa6b0a238483e08548f21a07e048f (patch) | |
tree | 888a804648c8bcc7d178d53c9c9228a62cc9f41e /epan/dissectors/packet-mount.c | |
parent | 5569f66084ea06b457db5e6cef9f5bdc226a1fbf (diff) |
NFS: We need to pass data through to the dissect_rpc_list() callback
Change-Id: Iace7c6dfb81f0a98bbae304346906a5e82c82812
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
Reviewed-on: https://code.wireshark.org/review/679
Reviewed-by: Evan Huus <eapache@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-mount.c')
-rw-r--r-- | epan/dissectors/packet-mount.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/epan/dissectors/packet-mount.c b/epan/dissectors/packet-mount.c index 2175a19eb1..a535d8056b 100644 --- a/epan/dissectors/packet-mount.c +++ b/epan/dissectors/packet-mount.c @@ -243,7 +243,8 @@ dissect_mountlist(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree static int dissect_mount_dump_reply(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, void* data _U_) { - offset = dissect_rpc_list(tvb, pinfo, tree, offset, dissect_mountlist); + offset = dissect_rpc_list(tvb, pinfo, tree, offset, + dissect_mountlist, NULL); return offset; } @@ -309,7 +310,8 @@ dissect_exportlist(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tr groups_tree = proto_item_add_subtree(groups_item, ett_mount_groups); } - offset = dissect_rpc_list(tvb, pinfo, groups_tree, offset, dissect_group); + offset = dissect_rpc_list(tvb, pinfo, groups_tree, offset, + dissect_group, NULL); if (groups_item) { /* mark empty lists */ if (offset - groups_offset == 4) { @@ -336,7 +338,8 @@ dissect_exportlist(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tr static int dissect_mount_export_reply(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, void* data _U_) { - offset = dissect_rpc_list(tvb, pinfo, tree, offset, dissect_exportlist); + offset = dissect_rpc_list(tvb, pinfo, tree, offset, + dissect_exportlist, NULL); return offset; } @@ -608,7 +611,8 @@ dissect_sgi_exportlist(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_ static int dissect_mount_exportlist_reply(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, void* data _U_) { - offset = dissect_rpc_list(tvb, pinfo, tree, offset, dissect_sgi_exportlist); + offset = dissect_rpc_list(tvb, pinfo, tree, offset, + dissect_sgi_exportlist, NULL); return offset; } |