summaryrefslogtreecommitdiffhomepage
path: root/android/src/main
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2019-05-28 20:18:10 +0000
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2019-05-29 13:58:25 +0000
commit38d3ef0ddb82c34e26c1fb1d72e05d1a01a68677 (patch)
tree26f773b915c820dafaee75a0f4ee1bfa3fba8cb1 /android/src/main
parent0eb13af5be6a204f9c94783bd16498101bfbb97d (diff)
downloadmullvadvpn-38d3ef0ddb82c34e26c1fb1d72e05d1a01a68677.tar.xz
mullvadvpn-38d3ef0ddb82c34e26c1fb1d72e05d1a01a68677.zip
Create `InetNetwork` data class
Diffstat (limited to 'android/src/main')
-rw-r--r--android/src/main/kotlin/net/mullvad/mullvadvpn/model/InetNetwork.kt5
1 files changed, 5 insertions, 0 deletions
diff --git a/android/src/main/kotlin/net/mullvad/mullvadvpn/model/InetNetwork.kt b/android/src/main/kotlin/net/mullvad/mullvadvpn/model/InetNetwork.kt
new file mode 100644
index 0000000000..eb3030880f
--- /dev/null
+++ b/android/src/main/kotlin/net/mullvad/mullvadvpn/model/InetNetwork.kt
@@ -0,0 +1,5 @@
+package net.mullvad.mullvadvpn.model
+
+import java.net.InetAddress
+
+data class InetNetwork(val address: InetAddress, val prefixLength: Short)