From e4cf7aeccfa165c509719a4c8da9140f966476e6 Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Thu, 12 Jun 2025 12:17:01 +0200 Subject: [PATCH] - Fix header return value description for skip_pkt_rrs and parse_edns_from_query_pkt. --- doc/Changelog | 4 ++++ util/data/msgparse.h | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/Changelog b/doc/Changelog index 432c99313..24b7e1a19 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,7 @@ +12 June 2025: Wouter + - Fix header return value description for skip_pkt_rrs and + parse_edns_from_query_pkt. + 11 June 2025: Wouter - Fix bitwise operators in conditional expressions with parentheses. - Fix conditional expressions with parentheses for bitwise and. diff --git a/util/data/msgparse.h b/util/data/msgparse.h index 62f0d5aac..7de4e394f 100644 --- a/util/data/msgparse.h +++ b/util/data/msgparse.h @@ -308,16 +308,16 @@ int parse_extract_edns_from_response_msg(struct msg_parse* msg, /** * Skip RRs from packet * @param pkt: the packet. position at start must be right after the query - * section. At end, right after EDNS data or no movement if failed. + * section. At end, right after EDNS data or partial movement if failed. * @param num: Limit of the number of records we want to parse. - * @return: 0 on success, 1 on failure. + * @return: 1 on success, 0 on failure. */ int skip_pkt_rrs(struct sldns_buffer* pkt, int num); /** * If EDNS data follows a query section, extract it and initialize edns struct. * @param pkt: the packet. position at start must be right after the query - * section. At end, right after EDNS data or no movement if failed. + * section. At end, right after EDNS data or partial movement if failed. * @param edns: the edns data allocated by the caller. Does not have to be * initialised. * @param cfg: the configuration (with nsid value etc.) -- 2.47.2