diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-01-30 02:52:25 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-01-30 02:52:25 +0000 |
commit | 0431c0c49ff2373d0383b9a1adb49ed11fc326da (patch) | |
tree | bf9692c3dec73e4eaec731c590700182c0fad7f1 | |
parent | 87bf383873a7cb74a94af646c7a5e00750cf7606 (diff) | |
download | wireshark-0431c0c49ff2373d0383b9a1adb49ed11fc326da.tar.gz |
change dissect_ndr_counted_byte_array to be more consistent with dissect_ndr_counted_string
svn path=/trunk/; revision=13202
-rw-r--r-- | epan/dissectors/packet-dcerpc-netlogon.c | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-dcerpc-nt.c | 4 | ||||
-rw-r--r-- | epan/dissectors/packet-dcerpc-nt.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-dcerpc-netlogon.c b/epan/dissectors/packet-dcerpc-netlogon.c index bcaf4cf6a1..0da424b9a3 100644 --- a/epan/dissectors/packet-dcerpc-netlogon.c +++ b/epan/dissectors/packet-dcerpc-netlogon.c @@ -832,7 +832,7 @@ netlogon_dissect_NETWORK_INFO(tvbuff_t *tvb, int offset, dissect_nt_chal_resp_cb, NULL); offset = dissect_ndr_counted_byte_array(tvb, offset, pinfo, tree, drep, - hf_netlogon_lm_chal_resp); + hf_netlogon_lm_chal_resp, 0); return offset; } diff --git a/epan/dissectors/packet-dcerpc-nt.c b/epan/dissectors/packet-dcerpc-nt.c index 411eee6001..d76ad8f84a 100644 --- a/epan/dissectors/packet-dcerpc-nt.c +++ b/epan/dissectors/packet-dcerpc-nt.c @@ -211,10 +211,10 @@ dissect_ndr_counted_byte_array_cb(tvbuff_t *tvb, int offset, int dissect_ndr_counted_byte_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, - guint8 *drep, int hf_index) + guint8 *drep, int hf_index, int levels) { return dissect_ndr_counted_byte_array_cb( - tvb, offset, pinfo, tree, drep, hf_index, NULL, NULL); + tvb, offset, pinfo, tree, drep, hf_index, cb_str_postprocess, GINT_TO_POINTER(2 + levels)); } /* This function is used to dissect a DCERPC encoded 64 bit time value. diff --git a/epan/dissectors/packet-dcerpc-nt.h b/epan/dissectors/packet-dcerpc-nt.h index 6b07283758..227f2faf70 100644 --- a/epan/dissectors/packet-dcerpc-nt.h +++ b/epan/dissectors/packet-dcerpc-nt.h @@ -86,7 +86,7 @@ dissect_ndr_counted_string(tvbuff_t *tvb, int offset, int dissect_ndr_counted_byte_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, - guint8 *drep, int hf_index); + guint8 *drep, int hf_index, int levels); int dissect_ndr_counted_byte_array_cb(tvbuff_t *tvb, int offset, |