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