aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dns.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-03-30 01:52:40 +0000
committerGuy Harris <guy@alum.mit.edu>2000-03-30 01:52:40 +0000
commita02c9146d5c95b810c8ccdeedba2a64a3e568efd (patch)
tree85a2532b8594328d1b06289a0a939a292edcb29d /packet-dns.h
parent72ebab08bff6960affe95a44e45083b72064b6f3 (diff)
"add_rr_to_tree()" is exported from "packet-dns.c" for use by the NBNS
protocol, which is DNS-derived; hopefully, Microsoft won't shovel any more stuff into NBNS (I suspect that they ultimately want to make DNS replace it completely), so it won't pick up stuff such as OPT RRs. As such, we don't need to export "add_opt_rr_to_tree()", so make it static to "packet-dns.c". svn path=/trunk/; revision=1766
Diffstat (limited to 'packet-dns.h')
-rw-r--r--packet-dns.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/packet-dns.h b/packet-dns.h
index 693583292d..45777a954e 100644
--- a/packet-dns.h
+++ b/packet-dns.h
@@ -2,7 +2,7 @@
* Definitions for packet disassembly structures and routines used both by
* DNS and NBNS.
*
- * $Id: packet-dns.h,v 1.6 2000/03/30 01:33:10 itojun Exp $
+ * $Id: packet-dns.h,v 1.7 2000/03/30 01:52:40 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -39,9 +39,6 @@ proto_tree *
add_rr_to_tree(proto_item *trr, int rr_type, int offset, const char *name,
int namelen, const char *type_name, const char *class_name, u_int ttl,
u_short data_len);
-proto_tree *
-add_opt_rr_to_tree(proto_item *trr, int rr_type, int offset, const char *name,
- int namelen, const char *type_name, int class, u_int ttl, u_short data_len);
void dissect_dns(const u_char *, int, frame_data *, proto_tree *);