summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/java/com/wireguard/config/Attribute.java
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2017-08-24 02:00:53 -0500
committerSamuel Holland <samuel@sholland.org>2017-08-24 02:00:53 -0500
commit3d6109e6d9e0deb8aa2e1069e7c2b5fc2fcfe6fa (patch)
tree8b6832d065f2fcb6451fad48127da0eeaac27259 /app/src/main/java/com/wireguard/config/Attribute.java
parent881ad4fd4706ac985b576216d23d7d48df31d39a (diff)
Peer: Add a field for the optional pre-shared key
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/java/com/wireguard/config/Attribute.java')
-rw-r--r--app/src/main/java/com/wireguard/config/Attribute.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/java/com/wireguard/config/Attribute.java b/app/src/main/java/com/wireguard/config/Attribute.java
index e00ebb4c..4ee4e9f5 100644
--- a/app/src/main/java/com/wireguard/config/Attribute.java
+++ b/app/src/main/java/com/wireguard/config/Attribute.java
@@ -17,6 +17,7 @@ enum Attribute {
LISTEN_PORT("ListenPort"),
MTU("MTU"),
PERSISTENT_KEEPALIVE("PersistentKeepalive"),
+ PRE_SHARED_KEY("PresharedKey"),
PRIVATE_KEY("PrivateKey"),
PUBLIC_KEY("PublicKey");