mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-12 12:57:42 +02:00
- Fix #574: Review fixes for it.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
- Fix to make python module opt_list use opt_list_in.
|
||||
- Fix #574: unbound-checkconf reports fatal error if interface names
|
||||
are used as value for interfaces:
|
||||
- Fix #574: Review fixes for it.
|
||||
|
||||
15 November 2021: Tom
|
||||
- Improve EDNS option handling, now also works for synthesised
|
||||
|
||||
@@ -54,6 +54,7 @@
|
||||
#include "iterator/iter_hints.h"
|
||||
#include "validator/validator.h"
|
||||
#include "services/localzone.h"
|
||||
#include "services/listen_dnsport.h"
|
||||
#include "services/view.h"
|
||||
#include "services/authzone.h"
|
||||
#include "respip/respip.h"
|
||||
@@ -340,7 +341,9 @@ interfacechecks(struct config_file* cfg)
|
||||
|
||||
if(cfg->num_ifs != 0) {
|
||||
resif = (char***)calloc(cfg->num_ifs, sizeof(char**));
|
||||
if(!resif) fatal_exit("malloc failure");
|
||||
num_resif = (int*)calloc(cfg->num_ifs, sizeof(int*));
|
||||
if(!num_resif) fatal_exit("malloc failure");
|
||||
}
|
||||
for(i=0; i<cfg->num_ifs; i++) {
|
||||
/* search for duplicates in IP or ifname arguments */
|
||||
|
||||
Reference in New Issue
Block a user