[PATCH openEuler-5.10 514/557] wireguard: socket: ignore v6 endpoints when ipv6 is disabled