mirror of
https://github.com/NLnetLabs/unbound.git
synced 2024-09-21 14:47:09 +00:00
- Fix empty clause warning in edns pass for padding.
This commit is contained in:
parent
3a19ceaae6
commit
ad8104bb7c
@ -3,6 +3,7 @@
|
||||
- Fix to use correct type for label count in rpz routine.
|
||||
- Fix empty clause warning in config_file nsid parse.
|
||||
- Fix to use correct type for label count in ipdnametoaddr rpz routine.
|
||||
- Fix empty clause warning in edns pass for padding.
|
||||
|
||||
26 January 2022: George
|
||||
- Merge PR #408 from fobser: Prevent a few more yacc clashes.
|
||||
|
@ -166,8 +166,9 @@ int apply_edns_options(struct edns_data* edns_out, struct edns_data* edns_in,
|
||||
return 0;
|
||||
|
||||
if(!cfg->pad_responses || c->type != comm_tcp || !c->ssl
|
||||
|| !edns_opt_list_find(edns_in->opt_list, LDNS_EDNS_PADDING))
|
||||
|| !edns_opt_list_find(edns_in->opt_list, LDNS_EDNS_PADDING)) {
|
||||
; /* pass */
|
||||
}
|
||||
|
||||
else if(!edns_opt_list_append(&edns_out->opt_list, LDNS_EDNS_PADDING
|
||||
, 0, NULL, region))
|
||||
|
Loading…
Reference in New Issue
Block a user