- Fix comment for the dname_remove_label_limit_len function.

This commit is contained in:
W.C.A. Wijngaards 2025-06-05 11:11:32 +02:00
parent c0563f43b0
commit 565bce670c
2 changed files with 2 additions and 1 deletions

View file

@ -1,6 +1,7 @@
5 June 2025: Wouter 5 June 2025: Wouter
- Fix unbound-anchor certificate file read for line ends and end of - Fix unbound-anchor certificate file read for line ends and end of
file. file.
- Fix comment for the dname_remove_label_limit_len function.
3 June 2025: Yorgos 3 June 2025: Yorgos
- Small manpage corrections for the 'disable-dnssec-lame-check' option. - Small manpage corrections for the 'disable-dnssec-lame-check' option.

View file

@ -273,7 +273,7 @@ void dname_remove_label(uint8_t** dname, size_t* len);
* @param dname: from what to strip off. uncompressed wireformat. * @param dname: from what to strip off. uncompressed wireformat.
* @param len: length, adjusted to become less. * @param len: length, adjusted to become less.
* @param lenlimit: length limit that we can't surpass (usually the zone apex). * @param lenlimit: length limit that we can't surpass (usually the zone apex).
* return * @return
* o 1, and dname stripped off, or "." if input was ".", else * o 1, and dname stripped off, or "." if input was ".", else
* o 0, if going up would surpass lenlimit. * o 0, if going up would surpass lenlimit.
*/ */