aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dns.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>1998-09-27 03:42:33 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>1998-09-27 03:42:33 +0000
commitb9fb164099562ed82e65f978da6ea2de9a729d2e (patch)
treef067069224ab1d7a01e282f3c91bf088dc58ca5b /packet-dns.c
parent3f7ed51f8dd612093e7e58b0dd6f44f28078b0f8 (diff)
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
Diffstat (limited to 'packet-dns.c')
-rw-r--r--packet-dns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-dns.c b/packet-dns.c
index 353fa13277..f493da19db 100644
--- a/packet-dns.c
+++ b/packet-dns.c
@@ -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();