summaryrefslogtreecommitdiff
path: root/packet-dns.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-01-05 09:01:42 +0000
committerGuy Harris <guy@alum.mit.edu>1999-01-05 09:01:42 +0000
commit464949dc2a72a8311df9ad144499844ffce2d52b (patch)
tree26f8868a73bedbf3582acc32e2b94bd29d2a1c56 /packet-dns.c
parentbc21c7a2c7fa098c3ec318bc732b990425476edb (diff)
downloadwireshark-464949dc2a72a8311df9ad144499844ffce2d52b.tar.gz
Clean up what's displayed for unknown opcodes and unknown rcodes.
svn path=/trunk/; revision=160
Diffstat (limited to 'packet-dns.c')
-rw-r--r--packet-dns.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-dns.c b/packet-dns.c
index bb3d28f44d..9e14fdab3f 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.13 1999/01/04 09:13:46 guy Exp $
+ * $Id: packet-dns.c,v 1.14 1999/01/05 09:01:42 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -517,12 +517,12 @@ dissect_dns(const u_char *pd, int offset, frame_data *fd, GtkTree *tree) {
add_item_to_tree(dns_tree, offset + DNS_ID, 2, "Transaction ID: 0x%04x",
id);
- strcpy(buf, val_to_str(flags & F_OPCODE, opcode_vals, "Unknown (%x)"));
+ strcpy(buf, val_to_str(flags & F_OPCODE, opcode_vals, "Unknown operation"));
if (flags & F_RESPONSE) {
strcat(buf, " response");
strcat(buf, ", ");
strcat(buf, val_to_str(flags & F_RCODE, rcode_vals,
- "Unknown error (%x)"));
+ "Unknown error"));
}
tf = add_item_to_tree(dns_tree, offset + DNS_FLAGS, 2, "Flags: 0x%04x (%s)",
flags, buf);