vxlan: fix udp checksum control

So far, passing "rxcsum" and "txcsum" had no effect.

Fixes: 95ab18e012 ("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>
This commit is contained in:
Johannes Kimmel 2020-06-08 16:14:43 +02:00 committed by Adrian Schmutzler
parent b94d1a2d27
commit 0453c3866f

View File

@ -129,6 +129,8 @@ vxlan_generic_init_config() {
proto_config_add_int "ttl" proto_config_add_int "ttl"
proto_config_add_int "tos" proto_config_add_int "tos"
proto_config_add_int "mtu" proto_config_add_int "mtu"
proto_config_add_boolean "rxcsum"
proto_config_add_boolean "txcsum"
proto_config_add_string "macaddr" proto_config_add_string "macaddr"
} }