]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix header return value description for skip_pkt_rrs and
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 12 Jun 2025 10:17:01 +0000 (12:17 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 12 Jun 2025 10:17:01 +0000 (12:17 +0200)
  parse_edns_from_query_pkt.

doc/Changelog
util/data/msgparse.h

index 432c993137090119acd8e147501111143f1cf573..24b7e1a195ad3dc6c92657f6d7c0fbc370aa809f 100644 (file)
@@ -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.
index 62f0d5aacd80dbae7e09e58502cb608ed752ef85..7de4e394f2aed23f26c5b7b05ddff96eaf396f11 100644 (file)
@@ -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.)