diff --git a/src/network/netdev/tunnel.c b/src/network/netdev/tunnel.c index 8b0e3d27ea..72b33ed9e5 100644 --- a/src/network/netdev/tunnel.c +++ b/src/network/netdev/tunnel.c @@ -729,7 +729,7 @@ static void ipip_sit_init(NetDev *n) { assert(t); t->pmtudisc = true; - t->fou_encap_type = FOU_ENCAP_DIRECT; + t->fou_encap_type = NETDEV_FOO_OVER_UDP_ENCAP_DIRECT; t->isatap = -1; } @@ -771,7 +771,7 @@ static void gre_erspan_init(NetDev *n) { t->pmtudisc = true; t->gre_erspan_sequence = -1; - t->fou_encap_type = FOU_ENCAP_DIRECT; + t->fou_encap_type = NETDEV_FOO_OVER_UDP_ENCAP_DIRECT; } static void ip6gre_init(NetDev *n) {