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-15 00:23:38 +0200
commit0453c3866feb701160bbab4ecf9762c5a3038503 (patch)
treecaa789c2b761f20f52f6b0edd57a26b09b918ffd
parentb94d1a2d2786f3115602fb7e771aa9944f63e6a2 (diff)
downloadupstream-0453c3866feb701160bbab4ecf9762c5a3038503.tar.gz
upstream-0453c3866feb701160bbab4ecf9762c5a3038503.tar.bz2
upstream-0453c3866feb701160bbab4ecf9762c5a3038503.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>
-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"
}