]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
daemon/lua: avoid depending on KNOT_EDNS_MAX_OPTION_CODE docs-develop-5-pk-r4uf3k/deployments/9080
authorVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 4 Feb 2025 14:03:15 +0000 (15:03 +0100)
committerAleš Mrázek <ales.mrazek@nic.cz>
Wed, 13 May 2026 08:36:23 +0000 (10:36 +0200)
commitd7db23398f4840b3539abdceeded6d82a9e571ef
treee829a05867fd6e8d36f907b642153870fe99b587
parent56c51aac225fca3b6f067fa158479be87842e3ec
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-*.lua depending on this length.

(cherry picked from commit 016692b2766ab9225a54ca1c0fda3e660a15a68c)
daemon/lua/kres-gen-32.lua
daemon/lua/kres-gen.sh