From: Gert D. <ge...@gr...> - 2025-07-30 18:15:25
|
Thanks. I've ran into this myself with 2.7_alpha2 and a setup that ended up doing DHCP on TAP, so thanks for the fix :-) I have not tested it beyond "does it compile", but looking at the code flow and finding tt->options.dhcp_options in tun.c, this is "obviously correct". The dance with the helper variable is unavoidable due to the platform-dependent nature of the options.c code here... ("or you get 3 extra #ifdefs"). Your patch has been applied to the master branch. commit 040e0d1c308a587ae9a26295eeaa070561befa0d Author: Lev Stipakov Date: Wed Jul 30 20:04:26 2025 +0200 Fix broken DHCP options Signed-off-by: Lev Stipakov <le...@op...> Acked-by: Gert Doering <ge...@gr...> Message-Id: <202...@gr...> URL: https://www.mail-archive.com/ope...@li.../msg32427.html Signed-off-by: Gert Doering <ge...@gr...> -- kind regards, Gert Doering |