mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Small debug output improvement when attaching an EDE.
This commit is contained in:
parent
d71ead5598
commit
c3a8d5251f
3 changed files with 5 additions and 2 deletions
|
|
@ -1,3 +1,6 @@
|
|||
15 September 2025: Yorgos
|
||||
- Small debug output improvement when attaching an EDE.
|
||||
|
||||
11 September 2025: Wouter
|
||||
- version set to 1.24.0 for release.
|
||||
- tag for 1.24.0rc1.
|
||||
|
|
|
|||
|
|
@ -1129,7 +1129,7 @@ int edns_opt_list_append_ede(struct edns_option** list, struct regional* region,
|
|||
prevp = list;
|
||||
while(*prevp != NULL)
|
||||
prevp = &((*prevp)->next);
|
||||
verbose(VERB_ALGO, "attached EDE code: %d with message: %s", code, (txt?txt:"\"\""));
|
||||
verbose(VERB_ALGO, "attached EDE code: %d with message: '%s'", code, (txt?txt:"\"\""));
|
||||
*prevp = opt;
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -597,7 +597,7 @@ int edns_opt_list_append(struct edns_option** list, uint16_t code, size_t len,
|
|||
char text[sizeof(TXT) - 1]; \
|
||||
} ede = { htons(CODE), TXT }; \
|
||||
verbose(VERB_ALGO, "attached EDE code: %d with" \
|
||||
" message: %s", CODE, TXT); \
|
||||
" message: '%s'", CODE, TXT); \
|
||||
edns_opt_list_append((LIST), LDNS_EDNS_EDE, \
|
||||
sizeof(uint16_t) + sizeof(TXT) - 1, \
|
||||
(void *)&ede, (REGION)); \
|
||||
|
|
|
|||
Loading…
Reference in a new issue