Commit Diff
Diff:
a5463d62985770d9835ab35daef554193edc3763
94dd40f71ef1b7add1170011be81488b618e8e5c
Commit:
94dd40f71ef1b7add1170011be81488b618e8e5c
Tree:
99f5d4d83f7f00d4418f7f971b76e52c4a75da1a
Author:
pjp <pjp@delphinusdns.org>
Committer:
pjp <pjp@delphinusdns.org>
Date:
Wed Mar 28 21:16:25 2018 UTC
Message:
disable the verbose message about a notify reply not matching
blob - 75a2c30d31da95209f0b23d9420b89200ced68fe
blob + 918cd982bc24e4be9da99d044a447084ee4c7fbd
--- axfr.c
+++ axfr.c
@@ -27,7 +27,7 @@
*/
/*
- * $Id: axfr.c,v 1.16 2018/03/28 20:19:56 pjp Exp $
+ * $Id: axfr.c,v 1.17 2018/03/28 21:16:25 pjp Exp $
*/
#include "ddd-include.h"
@@ -1569,18 +1569,16 @@ check_notifyreply(struct dns_header *dh, struct questi
if (memcmp(&sin6->sin6_addr, &sin62->sin6_addr, 16) == 0) {
dolog(LOG_INFO, "notify success! removing address \"%s\" from notify contact list\n", address);
SLIST_REMOVE(&notifyslavehead, nfslnp, notifyslaveentry, notifyslave_entry);
- return 0;
}
} else {
sin2 = (struct sockaddr_in *)&nfslnp->hostmask;
if (sin->sin_addr.s_addr == sin2->sin_addr.s_addr) {
dolog(LOG_INFO, "notify success! removing address \"%s\" from notify contact list\n", address);
SLIST_REMOVE(&notifyslavehead, nfslnp, notifyslaveentry, notifyslave_entry);
- return 0;
}
- } /* if af==AF_INET6 */
- } /* SLIST_FOREACH */
- } /* ntohs(dh->id) == notnp->ids[count] */
+ } /* if af==AF_INET6 */
+ } /* SLIST_FOREACH */
+ }
- return -1;
+ return 0;
}
repomaster@centroid.eu