Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/usr.sbin/dhcp/minires Pull up revision 1.1.1.7 (request...
details: https://anonhg.NetBSD.org/src/rev/8bb6d6704055
branches: netbsd-1-5
changeset: 491277:8bb6d6704055
user: he <he%NetBSD.org@localhost>
date: Sat Apr 21 19:49:45 2001 +0000
description:
Pull up revision 1.1.1.7 (requested by mellon):
Fix a core dump when doing DNS updates if the master is not
reachable.
diffstat:
usr.sbin/dhcp/minires/res_findzonecut.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 30187d93c32d -r 8bb6d6704055 usr.sbin/dhcp/minires/res_findzonecut.c
--- a/usr.sbin/dhcp/minires/res_findzonecut.c Sat Apr 21 19:48:51 2001 +0000
+++ b/usr.sbin/dhcp/minires/res_findzonecut.c Sat Apr 21 19:49:45 2001 +0000
@@ -1,5 +1,5 @@
#if !defined(lint) && !defined(SABER)
-static const char rcsid[] = "$Id: res_findzonecut.c,v 1.1.1.2.2.4 2001/04/04 20:55:33 he Exp $";
+static const char rcsid[] = "$Id: res_findzonecut.c,v 1.1.1.2.2.5 2001/04/21 19:49:45 he Exp $";
#endif /* not lint */
/*
@@ -266,7 +266,7 @@
/* Is there an SOA? */
rcode = do_query(statp, dname, class, ns_t_soa,
resp, &msg, &n);
- if (n < 0) {
+ if (rcode != ISC_R_SUCCESS) {
DPRINTF(("get_soa: do_query('%s', %s) failed (%d)",
dname, p_class(class), n));
return rcode;
Home |
Main Index |
Thread Index |
Old Index