1
1
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:
Yu Watanabe 2021-11-29 15:13:03 +09:00
parent 5e82a61375
commit 9e11bd58fb

View File

@ -696,7 +696,7 @@ int config_parse_wireguard_allowed_ips(
*ipmask = (WireguardIPmask) {
.family = family,
.ip.in6 = addr.in6,
.ip = addr,
.cidr = prefixlen,
};