aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dns.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>1999-01-28 21:29:36 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>1999-01-28 21:29:36 +0000
commit69458d2e922042d2a08934af21d7e45dbb6eec14 (patch)
tree6949f9a4ccd753b032b12cb6d8f6b1ab60eb1f1f /packet-dns.c
parent4e1c7318cb46657e9dc0aba44174299d6e7c5c58 (diff)
downloadwireshark-69458d2e922042d2a08934af21d7e45dbb6eec14.tar.gz
wireshark-69458d2e922042d2a08934af21d7e45dbb6eec14.tar.bz2
wireshark-69458d2e922042d2a08934af21d7e45dbb6eec14.zip
Added guy's time and DHCP patch.
svn path=/trunk/; revision=177
Diffstat (limited to 'packet-dns.c')
-rw-r--r--packet-dns.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-dns.c b/packet-dns.c
index 9e14fdab3f..c1a3170feb 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.14 1999/01/05 09:01:42 guy Exp $
+ * $Id: packet-dns.c,v 1.15 1999/01/28 21:29:35 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -341,7 +341,8 @@ add_rr_to_tree(GtkWidget *trr, int rr_type, int offset, const char *name,
offset += 2;
add_item_to_tree(rr_tree, offset, 2, "Class: %s", class_name);
offset += 2;
- add_item_to_tree(rr_tree, offset, 4, "Time to live: %u", ttl);
+ add_item_to_tree(rr_tree, offset, 4, "Time to live: %s",
+ time_secs_to_str(ttl));
offset += 4;
add_item_to_tree(rr_tree, offset, 2, "Data length: %u", data_len);
return rr_tree;