forked from osmocom/wireshark
I added the use of the END_OF_FRAME macro in dissect_dns() so that the entire
DNS layer in the hex dump ss highlighted when the "DNS" level is selected in the protocol analysis tree. I am assuming that this is what Gerald wanted. svn path=/trunk/; revision=28
This commit is contained in:
parent
3f7ed51f8d
commit
b9fb164099
|
@ -1,7 +1,7 @@
|
|||
/* packet-dns.c
|
||||
* Routines for DNS packet disassembly
|
||||
*
|
||||
* $Id: packet-dns.c,v 1.2 1998/09/16 03:22:03 gerald Exp $
|
||||
* $Id: packet-dns.c,v 1.3 1998/09/27 03:42:33 gram Exp $
|
||||
*
|
||||
* Ethereal - Network traffic analyzer
|
||||
* By Gerald Combs <gerald@zing.org>
|
||||
|
@ -411,7 +411,7 @@ dissect_dns(const u_char *pd, int offset, frame_data *fd, GtkTree *tree) {
|
|||
}
|
||||
|
||||
if (tree) {
|
||||
ti = add_item_to_tree(GTK_WIDGET(tree), offset, 4,
|
||||
ti = add_item_to_tree(GTK_WIDGET(tree), offset, END_OF_FRAME,
|
||||
query ? "DNS query" : "DNS response");
|
||||
|
||||
dns_tree = gtk_tree_new();
|
||||
|
|
Loading…
Reference in New Issue