Add Id to info column. Makes detecting duplicates and

matching answers so much easier.

svn path=/trunk/; revision=37518
This commit is contained in:
Jörg Mayer 2011-06-02 07:59:36 +00:00
parent 99e1b372f0
commit 05befd7537
1 changed files with 3 additions and 2 deletions

View File

@ -3100,9 +3100,10 @@ dissect_dns_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
if (check_col(pinfo->cinfo, COL_INFO)) {
bufpos=0;
bufpos+=MIN(MAX_BUF_SIZE-bufpos,
g_snprintf(buf+bufpos, MAX_BUF_SIZE-bufpos, "%s%s",
g_snprintf(buf+bufpos, MAX_BUF_SIZE-bufpos, "%s%s 0x%04x",
val_to_str(opcode, opcode_vals, "Unknown operation (%u)"),
(flags&F_RESPONSE)?" response":""));
(flags&F_RESPONSE)?" response":"",
id));
if (flags & F_RESPONSE) {
if (rcode != RCODE_NOERROR) {