mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix header return value description for skip_pkt_rrs and
parse_edns_from_query_pkt.
This commit is contained in:
parent
a8aa1dbbe1
commit
e4cf7aeccf
2 changed files with 7 additions and 3 deletions
|
|
@ -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
|
11 June 2025: Wouter
|
||||||
- Fix bitwise operators in conditional expressions with parentheses.
|
- Fix bitwise operators in conditional expressions with parentheses.
|
||||||
- Fix conditional expressions with parentheses for bitwise and.
|
- Fix conditional expressions with parentheses for bitwise and.
|
||||||
|
|
|
||||||
|
|
@ -308,16 +308,16 @@ int parse_extract_edns_from_response_msg(struct msg_parse* msg,
|
||||||
/**
|
/**
|
||||||
* Skip RRs from packet
|
* Skip RRs from packet
|
||||||
* @param pkt: the packet. position at start must be right after the query
|
* @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.
|
* @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);
|
int skip_pkt_rrs(struct sldns_buffer* pkt, int num);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If EDNS data follows a query section, extract it and initialize edns struct.
|
* 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
|
* @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
|
* @param edns: the edns data allocated by the caller. Does not have to be
|
||||||
* initialised.
|
* initialised.
|
||||||
* @param cfg: the configuration (with nsid value etc.)
|
* @param cfg: the configuration (with nsid value etc.)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue