mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Review fix, doxygen and assign null in case of error free.
This commit is contained in:
parent
b5a237424b
commit
12c0cf7cee
2 changed files with 2 additions and 1 deletions
|
|
@ -2,6 +2,7 @@
|
||||||
- Similar to NSD PR#113, implement that interface names can be used,
|
- Similar to NSD PR#113, implement that interface names can be used,
|
||||||
eg. something like interface: eth0 is resolved at server start and
|
eg. something like interface: eth0 is resolved at server start and
|
||||||
uses the IP addresses for that named interface.
|
uses the IP addresses for that named interface.
|
||||||
|
- Review fix, doxygen and assign null in case of error free.
|
||||||
|
|
||||||
26 August 2020: George
|
26 August 2020: George
|
||||||
- Update documentation in python example code.
|
- Update documentation in python example code.
|
||||||
|
|
|
||||||
|
|
@ -1550,7 +1550,7 @@ int resolve_interface_names(struct config_file* cfg, char*** resif,
|
||||||
{
|
{
|
||||||
#ifdef HAVE_GETIFADDRS
|
#ifdef HAVE_GETIFADDRS
|
||||||
int i;
|
int i;
|
||||||
struct ifaddrs *addrs;
|
struct ifaddrs *addrs = NULL;
|
||||||
if(cfg->num_ifs == 0) {
|
if(cfg->num_ifs == 0) {
|
||||||
*resif = NULL;
|
*resif = NULL;
|
||||||
*num_resif = 0;
|
*num_resif = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue