- Fix to make python module opt_list use opt_list_in.

This commit is contained in:
W.C.A. Wijngaards 2021-11-29 11:57:45 +01:00
parent 22881e28cc
commit 2921ce9e61
2 changed files with 6 additions and 2 deletions

View file

@ -1,6 +1,7 @@
29 November 2021: Wouter 29 November 2021: Wouter
- Merge PR #570 from rex4539: Fix typos. - Merge PR #570 from rex4539: Fix typos.
- Fix for #570: regen aclocal.m4, fix configure.ac for spelling. - Fix for #570: regen aclocal.m4, fix configure.ac for spelling.
- Fix to make python module opt_list use opt_list_in.
15 November 2021: Tom 15 November 2021: Tom
- Improve EDNS option handling, now also works for synthesised - Improve EDNS option handling, now also works for synthesised

View file

@ -678,11 +678,14 @@ struct edns_data {
uint8_t edns_version; uint8_t edns_version;
uint16_t bits; uint16_t bits;
uint16_t udp_size; uint16_t udp_size;
struct edns_option* opt_list; struct edns_option* opt_list_in;
struct edns_option* opt_list_out;
struct edns_option* opt_list_inplace_cb_out;
uint16_t padding_block_size;
}; };
%inline %{ %inline %{
struct edns_option** _edns_data_opt_list_get(struct edns_data* edns) { struct edns_option** _edns_data_opt_list_get(struct edns_data* edns) {
return &edns->opt_list; return &edns->opt_list_in;
} }
%} %}
%extend edns_data { %extend edns_data {