aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/bind/bin/named/ns_resp.c
diff options
context:
space:
mode:
authorJeroen Ruigrok van der Werven <asmodai@FreeBSD.org>2000-10-31 12:35:45 +0000
committerJeroen Ruigrok van der Werven <asmodai@FreeBSD.org>2000-10-31 12:35:45 +0000
commit0fa5b6b1abfe0f6c1d822cc9ef20dcb425404631 (patch)
treeded7434aeb301ad84d14ba3ce978e6cf9daa040d /contrib/bind/bin/named/ns_resp.c
parent4635a6924f0a91e409eeea611691bc1da72ca21f (diff)
downloadsrc-0fa5b6b1abfe0f6c1d822cc9ef20dcb425404631.tar.gz
src-0fa5b6b1abfe0f6c1d822cc9ef20dcb425404631.zip
Virgin import of BIND v8.2.3-T6B
Notes
Notes: svn path=/vendor/bind/dist/; revision=68068
Diffstat (limited to 'contrib/bind/bin/named/ns_resp.c')
-rw-r--r--contrib/bind/bin/named/ns_resp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/bind/bin/named/ns_resp.c b/contrib/bind/bin/named/ns_resp.c
index 064661857fbe..36e3626bcba2 100644
--- a/contrib/bind/bin/named/ns_resp.c
+++ b/contrib/bind/bin/named/ns_resp.c
@@ -1,6 +1,6 @@
#if !defined(lint) && !defined(SABER)
static const char sccsid[] = "@(#)ns_resp.c 4.65 (Berkeley) 3/3/91";
-static const char rcsid[] = "$Id: ns_resp.c,v 8.143 2000/05/09 07:38:38 vixie Exp $";
+static const char rcsid[] = "$Id: ns_resp.c,v 8.144 2000/07/11 08:26:09 vixie Exp $";
#endif /* not lint */
/*
@@ -614,7 +614,8 @@ ns_resp(u_char *msg, int msglen, struct sockaddr_in from, struct qstream *qsp)
*/
if (hp->opcode == NS_NOTIFY_OP) {
ns_info(ns_log_notify,
- "Received NOTIFY answer from %s for \"%s %s %s\"",
+ "Received NOTIFY answer (%sAA) from %s for \"%s %s %s\"",
+ hp->aa ? "" : "!",
inet_ntoa(from.sin_addr),
*(qp->q_name) ? qp->q_name : ".",
p_class(qp->q_class), p_type(qp->q_type));
@@ -2367,6 +2368,7 @@ sysquery(const char *dname, int class, int type,
hp = (HEADER *) qp->q_msg;
hp->id = qp->q_nsid = htons(nsid_next());
hp->rd = (qp->q_addr[qp->q_curaddr].forwarder ? 1 : 0);
+ hp->aa = (opcode == NS_NOTIFY_OP);
/* First check for an already pending query for this data. */
for (oqp = nsqhead; oqp != NULL; oqp = oqp->q_link) {