]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Changelog entry for #86 and whitespace fix.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 3 Oct 2019 14:22:42 +0000 (16:22 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 3 Oct 2019 14:22:42 +0000 (16:22 +0200)
- Merge #86 from psquarejho: Added -b source address option to
  smallapp/unbound-anchor.c.

doc/Changelog
smallapp/unbound-anchor.c

index 1a7f7f425827907ce3dc47d297328856a99bfd48..5384dabeca6fcb8824bf4758ba4abea936dd5d88 100644 (file)
@@ -2,6 +2,8 @@
        - Merge #90 from vcunat: fix build with nettle-3.5.
        - Merge 1.9.4 release with fix for vulnerability CVE-2019-16866.
        - Continue with development of 1.9.5.
+       - Merge #86 from psquarejho: Added -b source address option to
+         smallapp/unbound-anchor.c.
 
 26 September 2019: Wouter
        - Merge #87 from hardfalcon: Fix contrib/unbound.service.in,
index d2d49e7af9339df911b61badc70ea3f855639581..5899d142815641a4743336129d0b41c5ca43e7eb 100644 (file)
@@ -1941,12 +1941,11 @@ do_certupdate(const char* root_anchor_file, const char* root_cert_file,
        /* lookup A, AAAA for the urlname (or parse urlname if IP address) */
        ip_list = resolve_name(urlname, port, res_conf, root_hints, debugconf,
                srcaddr, ip4only, ip6only);
-       
-        if(srcaddr && !(src = parse_ip_addr(srcaddr, 0))) {
-               if(verb) printf("cannot parse source address: %s\n", srcaddr);
-              exit(0);
-        }
 
+       if(srcaddr && !(src = parse_ip_addr(srcaddr, 0))) {
+               if(verb) printf("cannot parse source address: %s\n", srcaddr);
+               exit(0);
+       }
 
 #ifdef USE_WINSOCK
        if(1) { /* libunbound finished, startup WSA for the https connection */