mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-07 17:17:44 +03:00
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:
parent
5e82a61375
commit
9e11bd58fb
@ -696,7 +696,7 @@ int config_parse_wireguard_allowed_ips(
|
||||
|
||||
*ipmask = (WireguardIPmask) {
|
||||
.family = family,
|
||||
.ip.in6 = addr.in6,
|
||||
.ip = addr,
|
||||
.cidr = prefixlen,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user