- Review fix, doxygen and assign null in case of error free.

This commit is contained in:
W.C.A. Wijngaards 2020-08-27 15:27:05 +02:00
parent b5a237424b
commit 12c0cf7cee
2 changed files with 2 additions and 1 deletions

View file

@ -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.

View file

@ -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;