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:
@@ -696,7 +696,7 @@ int config_parse_wireguard_allowed_ips(
|
||||
|
||||
*ipmask = (WireguardIPmask) {
|
||||
.family = family,
|
||||
.ip.in6 = addr.in6,
|
||||
.ip = addr,
|
||||
.cidr = prefixlen,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user