From: Johannes Kimmel Date: Mon, 8 Jun 2020 14:14:43 +0000 (+0200) Subject: vxlan: fix udp checksum control X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e894e1b2f02dea6da210cb0b3cb1dbef220662da;p=openwrt%2Fstaging%2F981213.git vxlan: fix udp checksum control So far, passing "rxcsum" and "txcsum" had no effect. Fixes: 95ab18e0124e ("vxlan: add options to enable and disable UDP checksums") Signed-off-by: Johannes Kimmel [add Fixes:] Signed-off-by: Adrian Schmutzler (cherry picked from commit 0453c3866feb701160bbab4ecf9762c5a3038503) --- diff --git a/package/network/config/vxlan/files/vxlan.sh b/package/network/config/vxlan/files/vxlan.sh index d055d41edc..7b1c703955 100755 --- a/package/network/config/vxlan/files/vxlan.sh +++ b/package/network/config/vxlan/files/vxlan.sh @@ -129,6 +129,8 @@ vxlan_generic_init_config() { proto_config_add_int "ttl" proto_config_add_int "tos" proto_config_add_int "mtu" + proto_config_add_boolean "rxcsum" + proto_config_add_boolean "txcsum" proto_config_add_string "macaddr" }