blob: 59a3e69c597e71b7996c5e21da87ab37e9a2716f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/*
* Copyright © 2017-2023 WireGuard LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package com.wireguard.android.backend;
import com.wireguard.config.InetNetwork;
import com.wireguard.util.NonNullForAll;
import java.util.Set;
/**
* Class representing DHCP info for a {@link Tunnel} instance.
*/
@NonNullForAll
public class Dhcp {
private Set<InetNetwork> addresses;
Dhcp(Set<InetNetwork> addresses) {
this.addresses = addresses;
}
public Set<InetNetwork> getAddresses() {
return addresses;
}
public String toString() {
return "DHCP";
}
}
|