summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2023-10-28 23:32:45 +0200
committerMikael Magnusson <mikma@users.sourceforge.net>2023-10-28 23:32:45 +0200
commit2873188d51fbb0b6c3976fb3c5a704d26e9939a7 (patch)
treea4343034d7726be893a2caac448e5abc701d00ec
parent4f72a53c5727d2aaab7a43e73f08d712dbd7d3bb (diff)
WIP: fix peer detail persistent keepalive
-rw-r--r--tunnel/src/main/java/com/wireguard/android/backend/Bgp.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/tunnel/src/main/java/com/wireguard/android/backend/Bgp.java b/tunnel/src/main/java/com/wireguard/android/backend/Bgp.java
index f648f240..092b91b7 100644
--- a/tunnel/src/main/java/com/wireguard/android/backend/Bgp.java
+++ b/tunnel/src/main/java/com/wireguard/android/backend/Bgp.java
@@ -198,6 +198,7 @@ public class Bgp implements BGPListener {
}
}
+ tunnel.onPersistentKeepaliveChange(publicKey, 24550);
tunnel.onAllowedIpsChange(publicKey, addNetworks, removeNetworks);
// backend.addAllowedIps(tunnel, publicKey, addNetworks);
// backend.removeAllowedIps(tunnel, publicKey, addNetworks); // TODO