diff options
author | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-04-27 00:49:14 +0000 |
---|---|---|
committer | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-04-27 00:49:14 +0000 |
commit | 97e74245d4094ec84ba6dc6a3f19ce6ea72041d7 (patch) | |
tree | d30706e15638aa33e91aa425903c3d7c10c400e9 /packet-dcerpc-netlogon.c | |
parent | 385713b179a1bdb6db638a95235c5523b49e7c4d (diff) |
Not all strings in MS interfaces are unicode.
Rename cb_str_postprocess which handles unicode strings to cb_wstr_postprocess.
Add cb_str_postprocess which handles ASCII strings
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7572 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-dcerpc-netlogon.c')
-rw-r--r-- | packet-dcerpc-netlogon.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-dcerpc-netlogon.c b/packet-dcerpc-netlogon.c index e3978a1358..7bddecf788 100644 --- a/packet-dcerpc-netlogon.c +++ b/packet-dcerpc-netlogon.c @@ -3,7 +3,7 @@ * Copyright 2001,2003 Tim Potter <tpot@samba.org> * 2002 structure and command dissectors by Ronnie Sahlberg * - * $Id: packet-dcerpc-netlogon.c,v 1.76 2003/02/14 06:17:20 tpot Exp $ + * $Id: packet-dcerpc-netlogon.c,v 1.77 2003/04/27 00:49:13 sahlberg Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -1403,7 +1403,7 @@ netlogon_dissect_netserverreqchallenge_rqst(tvbuff_t *tvb, int offset, tvb, offset, pinfo, tree, drep, dissect_ndr_wchar_cvstring, NDR_POINTER_REF, "Computer Name", hf_netlogon_computer_name, - cb_str_postprocess, + cb_wstr_postprocess, GINT_TO_POINTER(CB_STR_COL_INFO | 1)); offset = dissect_ndr_pointer(tvb, offset, pinfo, tree, drep, @@ -3807,7 +3807,7 @@ netlogon_dissect_netserverauthenticate2_rqst(tvbuff_t *tvb, int offset, tvb, offset, pinfo, tree, drep, dissect_ndr_wchar_cvstring, NDR_POINTER_REF, "User Name", hf_netlogon_acct_name, - cb_str_postprocess, GINT_TO_POINTER(CB_STR_COL_INFO | 1)); + cb_wstr_postprocess, GINT_TO_POINTER(CB_STR_COL_INFO | 1)); offset = netlogon_dissect_NETLOGON_SECURE_CHANNEL_TYPE(tvb, offset, pinfo, tree, drep); |