mirror of
https://github.com/outbackdingo/openwrt.git
synced 2026-01-28 10:19:53 +00:00
Instead of reference vlan and do strange subtraction, use the handy struct_group() to create a virtual struct of the same size of the members. This permits to have a more secure memset and fix compilation warning in 6.1 where additional checks are done. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>