aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dns.c
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.c
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.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 63779e273f..f5f50a02e3 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.39 2000/03/30 01:33:09 itojun Exp $
+ * $Id: packet-dns.c,v 1.40 2000/03/30 01:52:39 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -559,7 +559,7 @@ add_rr_to_tree(proto_item *trr, int rr_type, int offset, const char *name,
return rr_tree;
}
-proto_tree *
+static 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)
{