RDP: Changed some RDP info text to better indicate which packet type

we're dealing with.

Change-Id: I2cafefbdbaf6a4235afbae41969ed53f9c2e24c2
Reviewed-on: https://code.wireshark.org/review/29961
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Émilio Gonzalez 2018-10-01 10:05:25 -04:00 committed by Anders Broman
parent 2a59aca80d
commit 3201256fbb
1 changed files with 6 additions and 4 deletions

View File

@ -1255,8 +1255,8 @@ dissect_rdp_shareDataHeader(tvbuff_t *tvb, int offset, packet_info *pinfo, proto
offset = dissect_rdp_fields(tvb, offset, pinfo, tree, share_fields, 0);
if (pduType2 != PDUTYPE2_CONTROL)
col_append_sep_str(pinfo->cinfo, COL_INFO, ", ", val_to_str_const(pduType2, rdp_pduType2_vals, "Unknown"));
col_append_str(pinfo->cinfo, COL_INFO, "RDP PDU Type: ");
col_append_sep_str(pinfo->cinfo, COL_INFO, "", val_to_str_const(pduType2, rdp_pduType2_vals, "Unknown"));
fields = NULL;
switch(pduType2) {
@ -1320,8 +1320,10 @@ dissect_rdp_shareDataHeader(tvbuff_t *tvb, int offset, packet_info *pinfo, proto
offset = dissect_rdp_fields(tvb, offset, pinfo, tree, fields, 0);
}
if (pduType2 == PDUTYPE2_CONTROL)
col_append_sep_str(pinfo->cinfo, COL_INFO, ", ", val_to_str_const(action, rdp_action_vals, "Unknown"));
if (pduType2 == PDUTYPE2_CONTROL) {
col_append_sep_str(pinfo->cinfo, COL_INFO, ", ", "Action: ");
col_append_sep_str(pinfo->cinfo, COL_INFO, "", val_to_str_const(action, rdp_action_vals, "Unknown"));
}
return offset;
}