aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dcerpc-frsrpc.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-10-01 14:45:03 +0000
committerMichael Mann <mmann78@netscape.net>2013-10-01 14:45:03 +0000
commit0334c5b425d185635f2654e21c5fb06aff197311 (patch)
tree7b7885391055681dfc03ffc44bdb53a8171a89dd /epan/dissectors/packet-dcerpc-frsrpc.c
parentc6371f0f6d31a42d2cd8a918a96775cf430667e9 (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-frsrpc.c')
-rw-r--r--epan/dissectors/packet-dcerpc-frsrpc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-dcerpc-frsrpc.c b/epan/dissectors/packet-dcerpc-frsrpc.c
index e85dca2e53..fa4ab736bd 100644
--- a/epan/dissectors/packet-dcerpc-frsrpc.c
+++ b/epan/dissectors/packet-dcerpc-frsrpc.c
@@ -705,7 +705,7 @@ frsrpc_dissect_enum_CommPktCommand(tvbuff_t *tvb _U_, int offset _U_, packet_inf
s = frsrpc_frsrpc_CommPktCommand_vals[i].strptr;
}
}
- if (s!= NULL && check_col(pinfo->cinfo, COL_INFO))
+ if (s!= NULL)
col_append_fstr(pinfo->cinfo, COL_INFO, ",command = %s",
s);
if(param){
@@ -3087,7 +3087,7 @@ frsrpc_dissect_FrsSendCommPkt_response(tvbuff_t *tvb _U_, int offset _U_, packet
pinfo->dcerpc_procedure_name="FrsSendCommPkt";
offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_frsrpc_werror, &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, WERR_errors, "Unknown DOS error 0x%08x"));
return offset;
@@ -3211,7 +3211,7 @@ frsrpc_dissect_FrsVerifyPromotionParent_response(tvbuff_t *tvb _U_, int offset _
pinfo->dcerpc_procedure_name="FrsVerifyPromotionParent";
offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_frsrpc_werror, &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, WERR_errors, "Unknown DOS error 0x%08x"));
return offset;
@@ -3513,7 +3513,7 @@ frsrpc_dissect_FrsStartPromotionParent_response(tvbuff_t *tvb _U_, int offset _U
offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_frsrpc_werror, &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, WERR_errors, "Unknown DOS error 0x%08x"));
return offset;
@@ -3562,7 +3562,7 @@ frsrpc_dissect_FrsNOP_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *p
pinfo->dcerpc_procedure_name="FrsNOP";
offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_frsrpc_werror, &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, WERR_errors, "Unknown DOS error 0x%08x"));
return offset;