diff options
| author | Max Zettlmeißl <max@zettlmeissl.de> | 2024-07-20 06:20:25 +0200 |
|---|---|---|
| committer | Linus Färnstrand <faern@faern.net> | 2024-07-23 13:09:01 +0200 |
| commit | 9d9eb6c49351c8b64898cca1eb26c2197fb7dabd (patch) | |
| tree | dc072b00c4634bd264b02ba833b109296f9152e5 /android | |
| parent | 527f900375f28433c017f4d5003d9f2f8c45f2f8 (diff) | |
| download | mullvadvpn-9d9eb6c49351c8b64898cca1eb26c2197fb7dabd.tar.xz mullvadvpn-9d9eb6c49351c8b64898cca1eb26c2197fb7dabd.zip | |
Only accept an IPv4 as valid first argument
While `request_ephemeral_peer` accepts a generic `IpAddr`, the
function `new_client` used within forces an `Ipv4Addr`.
In the long run it would be best to change the library to support IPv6
(provided that the tunnel configuration service listens to an IPv6) or
to change the signature of `request_ephemeral_peer` to expect an IPv4.
Diffstat (limited to 'android')
0 files changed, 0 insertions, 0 deletions
