diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2023-10-28 23:14:37 +0200 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2023-10-28 23:15:30 +0200 |
commit | cee6609a98165461413e1ae3faac8671673adf4b (patch) | |
tree | 35184c31f8fa1ea3f20953f2cb7e981887da4b6b /ui/src/main | |
parent | 8ea8a6ed9d00f8d1da576a7b0715d257534de0fc (diff) |
WIP: add default persistent keepalive to bgp code
Diffstat (limited to 'ui/src/main')
-rw-r--r-- | ui/src/main/java/com/wireguard/android/model/ObservableTunnel.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/main/java/com/wireguard/android/model/ObservableTunnel.kt b/ui/src/main/java/com/wireguard/android/model/ObservableTunnel.kt index 3171a7b7..e4916b55 100644 --- a/ui/src/main/java/com/wireguard/android/model/ObservableTunnel.kt +++ b/ui/src/main/java/com/wireguard/android/model/ObservableTunnel.kt @@ -237,7 +237,7 @@ class ObservableTunnel internal constructor( private fun onPersistentKeepaliveChanged(publicKey: Key, newPersistentKeepalive: Integer?) { var peer: PeerDetail = lookupPeer(publicKey) - peer. + peer.persistentKeepalive = newPersistentKeepalive } override fun onAllowedIpsChange(publicKey: Key, addNetworks: List<InetNetwork>?, removeNetworks: List<InetNetwork>?) { |