Add I2P as enum entry

This commit is contained in:
chimp1984 2021-11-18 18:00:06 +01:00
parent e52a821f34
commit e442283db4
No known key found for this signature in database
GPG key ID: 9801B4EC591F90E3

View file

@ -91,7 +91,7 @@ public class DtoNetworkInfo {
@RequiredArgsConstructor
public enum NetworkType {
IPV4("ipv4"), IPV6("ipv6"), ONION("onion");
IPV4("ipv4"), IPV6("ipv6"), ONION("onion"), I2P("i2p");
@Getter(onMethod_ = @JsonValue)
private final String name;