]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Review fix, doxygen and assign null in case of error free.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 27 Aug 2020 13:27:05 +0000 (15:27 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 27 Aug 2020 13:27:05 +0000 (15:27 +0200)
doc/Changelog
services/listen_dnsport.c

index 11e81088ff3d248f9ebb0f0d0922f506dce8b029..10ab6efaea284ae97e9c1f69f58eb12e146e9d78 100644 (file)
@@ -2,6 +2,7 @@
        - Similar to NSD PR#113, implement that interface names can be used,
          eg. something like interface: eth0 is resolved at server start and
          uses the IP addresses for that named interface.
+       - Review fix, doxygen and assign null in case of error free.
 
 26 August 2020: George
        - Update documentation in python example code.
index 63d9f0398e7b4854499bd2f1d82f1e711f735739..51fe39e0f8629061ab877596d8a80876a6df8fe9 100644 (file)
@@ -1550,7 +1550,7 @@ int resolve_interface_names(struct config_file* cfg, char*** resif,
 {
 #ifdef HAVE_GETIFADDRS
        int i;
-       struct ifaddrs *addrs;
+       struct ifaddrs *addrs = NULL;
        if(cfg->num_ifs == 0) {
                *resif = NULL;
                *num_resif = 0;