diff options
author | Michael Mann <mmann78@netscape.net> | 2013-10-01 14:45:03 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-10-01 14:45:03 +0000 |
commit | 0334c5b425d185635f2654e21c5fb06aff197311 (patch) | |
tree | 7b7885391055681dfc03ffc44bdb53a8171a89dd /epan/dissectors/packet-dcerpc-dnsserver.c | |
parent | c6371f0f6d31a42d2cd8a918a96775cf430667e9 (diff) |
Remove check_col from generated DCE/RPC dissectors. Bug 8804 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8804).
I still couldn't figure out how to generate the source, so I made the modifications to the generated dissectors "manually" (search/replace tool in VS) that would match the "PIDL source" included here.
I will be sending the "PIDL source" (non dissector files) to the samba team.
svn path=/trunk/; revision=52313
Diffstat (limited to 'epan/dissectors/packet-dcerpc-dnsserver.c')
-rw-r--r-- | epan/dissectors/packet-dcerpc-dnsserver.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/epan/dissectors/packet-dcerpc-dnsserver.c b/epan/dissectors/packet-dcerpc-dnsserver.c index ddadf3c9da..e87d8056b1 100644 --- a/epan/dissectors/packet-dcerpc-dnsserver.c +++ b/epan/dissectors/packet-dcerpc-dnsserver.c @@ -2661,7 +2661,7 @@ dnsserver_dissect_DnssrvOperation_response(tvbuff_t *tvb _U_, int offset _U_, pa pinfo->dcerpc_procedure_name="DnssrvOperation"; offset = dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_dnsserver_status, &status); - if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) + if (status != 0) col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, NT_errors, "Unknown NT status 0x%08x")); return offset; @@ -2686,7 +2686,7 @@ dnsserver_dissect_DnssrvQuery_response(tvbuff_t *tvb _U_, int offset _U_, packet pinfo->dcerpc_procedure_name="DnssrvQuery"; offset = dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_dnsserver_status, &status); - if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) + if (status != 0) col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, NT_errors, "Unknown NT status 0x%08x")); return offset; @@ -2711,7 +2711,7 @@ dnsserver_dissect_DnssrvComplexOperation_response(tvbuff_t *tvb _U_, int offset pinfo->dcerpc_procedure_name="DnssrvComplexOperation"; offset = dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_dnsserver_status, &status); - if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) + if (status != 0) col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, NT_errors, "Unknown NT status 0x%08x")); return offset; @@ -2736,7 +2736,7 @@ dnsserver_dissect_DnssrvEnumRecords_response(tvbuff_t *tvb _U_, int offset _U_, pinfo->dcerpc_procedure_name="DnssrvEnumRecords"; offset = dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_dnsserver_status, &status); - if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) + if (status != 0) col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, NT_errors, "Unknown NT status 0x%08x")); return offset; @@ -2761,7 +2761,7 @@ dnsserver_dissect_DnssrvUpdateRecord_response(tvbuff_t *tvb _U_, int offset _U_, pinfo->dcerpc_procedure_name="DnssrvUpdateRecord"; offset = dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_dnsserver_status, &status); - if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) + if (status != 0) col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, NT_errors, "Unknown NT status 0x%08x")); return offset; @@ -2786,7 +2786,7 @@ dnsserver_dissect_DnssrvOperation2_response(tvbuff_t *tvb _U_, int offset _U_, p pinfo->dcerpc_procedure_name="DnssrvOperation2"; offset = dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_dnsserver_status, &status); - if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) + if (status != 0) col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, NT_errors, "Unknown NT status 0x%08x")); return offset; @@ -2928,7 +2928,7 @@ dnsserver_dissect_DnssrvQuery2_response(tvbuff_t *tvb _U_, int offset _U_, packe offset = dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_dnsserver_status, &status); - if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) + if (status != 0) col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, NT_errors, "Unknown NT status 0x%08x")); return offset; @@ -2963,7 +2963,7 @@ dnsserver_dissect_DnssrvComplexOperation2_response(tvbuff_t *tvb _U_, int offset pinfo->dcerpc_procedure_name="DnssrvComplexOperation2"; offset = dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_dnsserver_status, &status); - if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) + if (status != 0) col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, NT_errors, "Unknown NT status 0x%08x")); return offset; @@ -3200,7 +3200,7 @@ dnsserver_dissect_DnssrvEnumRecords2_response(tvbuff_t *tvb _U_, int offset _U_, offset = dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_dnsserver_status, &status); - if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) + if (status != 0) col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, NT_errors, "Unknown NT status 0x%08x")); return offset; @@ -3245,7 +3245,7 @@ dnsserver_dissect_DnssrvUpdateRecord2_response(tvbuff_t *tvb _U_, int offset _U_ pinfo->dcerpc_procedure_name="DnssrvUpdateRecord2"; offset = dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_dnsserver_status, &status); - if (status != 0 && check_col(pinfo->cinfo, COL_INFO)) + if (status != 0) col_append_fstr(pinfo->cinfo, COL_INFO, ", Error: %s", val_to_str(status, NT_errors, "Unknown NT status 0x%08x")); return offset; |