[Git][NTPsec/ntpsec][master] Revert "ntp_dns: Check for NULL pointers."

Hal Murray gitlab at mg.gitlab.com
Thu Mar 28 05:35:08 UTC 2019



Hal Murray pushed to branch master at NTPsec / ntpsec


Commits:
54dfcd3e by Hal Murray at 2019-03-27T23:09:14Z
Revert "ntp_dns: Check for NULL pointers."

This reverts commit 94ca6fa40842250e8448e35551dba46c403d3d7c.

- - - - -


1 changed file:

- ntpd/ntp_dns.c


Changes:

=====================================
ntpd/ntp_dns.c
=====================================
@@ -58,10 +58,6 @@ bool dns_probe(struct peer* pp)
         if (NULL != active)
 		return false;
 
-        if (NULL == pp ||
-            NULL == pp->hostname)
-		return false;
-
 	if (NULL != active)
 		busy = ", busy";
 	msyslog(LOG_INFO, "DNS: dns_probe: %s, cast_flags:%x, flags:%x%s",



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/54dfcd3e33aa818d68bcaf88ae5fe45004fb7250

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/54dfcd3e33aa818d68bcaf88ae5fe45004fb7250
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20190328/22f7d20f/attachment.html>


More information about the vc mailing list