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:
parent
97cd52c1b5
commit
a44956c94a
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user