summaryrefslogtreecommitdiffstats
path: root/usr.sbin/named/db_update.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/named/db_update.c')
-rw-r--r--usr.sbin/named/db_update.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/usr.sbin/named/db_update.c b/usr.sbin/named/db_update.c
index 70e7bde..523f967 100644
--- a/usr.sbin/named/db_update.c
+++ b/usr.sbin/named/db_update.c
@@ -1,6 +1,6 @@
#if !defined(lint) && !defined(SABER)
static char sccsid[] = "@(#)db_update.c 4.28 (Berkeley) 3/21/91";
-static char rcsid[] = "$Id: db_update.c,v 8.6 1995/06/29 09:26:17 vixie Exp $";
+static char rcsid[] = "$Id: db_update.c,v 8.7 1995/12/06 20:34:38 vixie Exp $";
#endif /* not lint */
/*
@@ -343,11 +343,6 @@ db_update(name, odp, newdp, flags, htp)
if (!newdp || newdp->d_class != dp->d_class)
goto skip;
- /* XXX:
- * The next three clauses do not deal
- * correctly with glue records. mpa.
- */
-
/* if the new data is authorative
* remove any data for this domain with
* the same class that isn't as credable
@@ -360,12 +355,14 @@ db_update(name, odp, newdp, flags, htp)
*/
goto delete;
+#if 0 /* caught by findMyZone() now. */
/* if we have authoritative data for a
* node, don't add in other data.
*/
if (dp->d_cred == DB_C_ZONE &&
newdp->d_cred < dp->d_cred)
return (AUTH);
+#endif
/* if the new data is authoritative but
* but isn't as credible, reject it.
OpenPOWER on IntegriCloud