V3 removes the maybe unnecessary inherit option for simpler code. The question was raised, whether the inherit option was necessary or the new behaviour was stricty necessry. I tried to come a with an example where the old behaviour (deriving a source address from the tunlink interface) was important.
Judging from the silence around the last patch version, I didn't make a convincing argument for the inherit option. The option to specify "auto" as ipaddr/ip6addr was retained to have a readable way to specify this behaviour. Therefore I propose this patch, which completely replaces the old behaviour with the new source address auto-selection. Should there be an argument for the inherit option down the road, we can add it then and use V2 of this patch as the blueprint again. Johannes Kimmel (1): vxlan: allow for dynamic source ip selection package/network/config/vxlan/Makefile | 2 +- package/network/config/vxlan/files/vxlan.sh | 35 +++++++-------------- 2 files changed, 12 insertions(+), 25 deletions(-) -- 2.29.2 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel