From 9e11bd58fb680c0bfd21f7920947bd486c6357ba Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Mon, 29 Nov 2021 15:13:03 +0900 Subject: [PATCH] network/wireguard: drop unnecessary .in6 specifier This should not change any behavior, as the size of the IPv4 address is smaller than IPv6. --- src/network/netdev/wireguard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/netdev/wireguard.c b/src/network/netdev/wireguard.c index 3734fa51c5..587e6db1c4 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, };