Add I2P as enum entry

This commit is contained in:
chimp1984 2021-11-18 18:00:06 +01:00 committed by Christoph Atteneder
parent ef7ce109ac
commit 08eb54efbd
No known key found for this signature in database
GPG Key ID: CD5DC1C529CDFD3B

View File

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