]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
daemon/lua: avoid depending on KNOT_EDNS_MAX_OPTION_CODE docs-develop-knot-jpwmak/deployments/6151
authorVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 4 Feb 2025 14:03:15 +0000 (15:03 +0100)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 4 Feb 2025 14:03:15 +0000 (15:03 +0100)
commit016692b2766ab9225a54ca1c0fda3e660a15a68c
tree2e8d9dbc518a0e10770fe7cd5f6d81c60af5e427
parent56e40d334edaf744567fa23b77bd3ffc4b82a8ad
daemon/lua: avoid depending on KNOT_EDNS_MAX_OPTION_CODE

We don't need to use the knot_edns_options_t type from lua,
only there's a pointer in knot_pkt_t.
Now libknot increased this length in v3.4.4,
even without bumping SONAME, and it might happen again.
This way we avoid kres-gen-33.lua depending on this length.
daemon/lua/kres-gen-33.lua
daemon/lua/kres-gen.sh