From: Yu Watanabe Date: Mon, 29 Nov 2021 06:13:03 +0000 (+0900) Subject: network/wireguard: drop unnecessary .in6 specifier X-Git-Tag: v250-rc1~107^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9e11bd58fb680c0bfd21f7920947bd486c6357ba;p=thirdparty%2Fsystemd.git network/wireguard: drop unnecessary .in6 specifier This should not change any behavior, as the size of the IPv4 address is smaller than IPv6. --- diff --git a/src/network/netdev/wireguard.c b/src/network/netdev/wireguard.c index 3734fa51c5c..587e6db1c47 100644 --- a/src/network/netdev/wireguard.c +++ b/src/network/netdev/wireguard.c @@ -696,7 +696,7 @@ int config_parse_wireguard_allowed_ips( *ipmask = (WireguardIPmask) { .family = family, - .ip.in6 = addr.in6, + .ip = addr, .cidr = prefixlen, };