1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 06:52:22 +03:00

network: fix implicit type conversion warning by GCC-10

Fixes part of #14691.
This commit is contained in:
Yu Watanabe 2020-01-29 20:39:12 +09:00 committed by Lennart Poettering
parent 97cd52c1b5
commit a44956c94a

View File

@ -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) {