summaryrefslogtreecommitdiffhomepage
path: root/android
diff options
context:
space:
mode:
authorMax Zettlmeißl <max@zettlmeissl.de>2024-07-20 06:20:25 +0200
committerLinus Färnstrand <faern@faern.net>2024-07-23 13:09:01 +0200
commit9d9eb6c49351c8b64898cca1eb26c2197fb7dabd (patch)
treedc072b00c4634bd264b02ba833b109296f9152e5 /android
parent527f900375f28433c017f4d5003d9f2f8c45f2f8 (diff)
downloadmullvadvpn-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