diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-09-24 16:39:28 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:20:17 -0500 |
commit | 4d3434ff6e83799a1690b3ad3475beb3ef6f12ba (patch) | |
tree | d1a76bfc30cc84c9c4434b86f1fe888637a56de1 /source4/pidl | |
parent | c682da359c59605ba0f458008d823b57eda1ca4a (diff) | |
download | samba-4d3434ff6e83799a1690b3ad3475beb3ef6f12ba.tar.gz samba-4d3434ff6e83799a1690b3ad3475beb3ef6f12ba.tar.bz2 samba-4d3434ff6e83799a1690b3ad3475beb3ef6f12ba.zip |
r18873: Use WERR_errors table rather than DOS_errors table for wireshark.
(This used to be commit 5a2e103ea0b31e80e4b2c2237b5fd9940820cec6)
Diffstat (limited to 'source4/pidl')
-rw-r--r-- | source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm b/source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm index 872a149274..b91ba10e98 100644 --- a/source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm +++ b/source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm @@ -452,7 +452,7 @@ sub Function($$$) } elsif ($fn->{RETURN_TYPE} eq "WERROR") { pidl_code "offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf\_$ifname\_werror, &status);\n"; pidl_code "if (status != 0 && check_col(pinfo->cinfo, COL_INFO))"; - pidl_code "\tcol_append_fstr(pinfo->cinfo, COL_INFO, \", Error: %s\", val_to_str(status, DOS_errors, \"Unknown DOS error 0x%08x\"));\n"; + pidl_code "\tcol_append_fstr(pinfo->cinfo, COL_INFO, \", Error: %s\", val_to_str(status, WERR_errors, \"Unknown DOS error 0x%08x\"));\n"; $hf_used{"hf\_$ifname\_werror"} = 1; } else { @@ -749,7 +749,7 @@ sub ProcessInterface($) } if (defined($hf_used{"hf_$x->{NAME}_werror"})) { - register_hf_field("hf_$x->{NAME}_werror", "Windows Error", "$x->{NAME}.werror", "FT_UINT32", "BASE_HEX", "VALS(DOS_errors)", 0, ""); + register_hf_field("hf_$x->{NAME}_werror", "Windows Error", "$x->{NAME}.werror", "FT_UINT32", "BASE_HEX", "VALS(WERR_errors)", 0, ""); } RegisterInterface($x); |