aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Kimmel <fff@bareminimum.eu>2020-06-08 16:14:43 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-07-17 12:22:57 +0200
commite894e1b2f02dea6da210cb0b3cb1dbef220662da (patch)
tree44a1752289039f963f34c78e4353e56c5d0807ad
parent8c191712558ce945993982b03abc5ce80e0fe230 (diff)
downloadupstream-e894e1b2f02dea6da210cb0b3cb1dbef220662da.tar.gz
upstream-e894e1b2f02dea6da210cb0b3cb1dbef220662da.tar.bz2
upstream-e894e1b2f02dea6da210cb0b3cb1dbef220662da.zip
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 <fff@bareminimum.eu> [add Fixes:] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> (cherry picked from commit 0453c3866feb701160bbab4ecf9762c5a3038503)
-rwxr-xr-xpackage/network/config/vxlan/files/vxlan.sh2
1 files changed, 2 insertions, 0 deletions
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"
}