network/wireguard: drop unnecessary .in6 specifier

This should not change any behavior, as the size of the IPv4 address is
smaller than IPv6.
This commit is contained in:
Yu Watanabe
2021-12-01 03:56:00 +09:00
parent 5e82a61375
commit 9e11bd58fb
+1 -1
View File
@@ -696,7 +696,7 @@ int config_parse_wireguard_allowed_ips(
*ipmask = (WireguardIPmask) {
.family = family,
.ip.in6 = addr.in6,
.ip = addr,
.cidr = prefixlen,
};