aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-nlm.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-nlm.c')
-rw-r--r--epan/dissectors/packet-nlm.c20
1 files changed, 4 insertions, 16 deletions
diff --git a/epan/dissectors/packet-nlm.c b/epan/dissectors/packet-nlm.c
index 457dfae9cb..fd8816ccf1 100644
--- a/epan/dissectors/packet-nlm.c
+++ b/epan/dissectors/packet-nlm.c
@@ -230,14 +230,8 @@ nlm_match_fhandle_reply(packet_info *pinfo, proto_tree *tree)
md=g_hash_table_lookup(nlm_msg_res_matched, GINT_TO_POINTER(pinfo->fd->num));
if(md && md->rep_frame){
- nfs_fhandle_data_t *fhd;
- fhd=(nfs_fhandle_data_t *)g_hash_table_lookup(
- nfs_fhandle_frame_table,
- GINT_TO_POINTER(md->req_frame));
- if(fhd){
- dissect_fhandle_hidden(pinfo,
- tree, fhd);
- }
+ dissect_fhandle_hidden(pinfo,
+ tree, md->req_frame);
}
}
static void
@@ -247,14 +241,8 @@ nlm_match_fhandle_request(packet_info *pinfo, proto_tree *tree)
md=g_hash_table_lookup(nlm_msg_res_matched, GINT_TO_POINTER(pinfo->fd->num));
if(md && md->rep_frame){
- nfs_fhandle_data_t *fhd;
- fhd=(nfs_fhandle_data_t *)g_hash_table_lookup(
- nfs_fhandle_frame_table,
- GINT_TO_POINTER(md->rep_frame));
- if(fhd){
- dissect_fhandle_hidden(pinfo,
- tree, fhd);
- }
+ dissect_fhandle_hidden(pinfo,
+ tree, md->rep_frame);
}
}