diff options
author | Hristo Venev <hristo@venev.name> | 2019-05-17 19:32:02 +0300 |
---|---|---|
committer | Hristo Venev <hristo@venev.name> | 2019-05-17 20:07:57 +0300 |
commit | 81dc38168d7b0375673067435834146a499b5959 (patch) | |
tree | b63062088422627799734af99ec0dfee334198aa | |
parent | 34065c2281dbbc84a98b5da2f6892333959c6732 (diff) |
Set the persistent keepalive.
-rw-r--r-- | src/wg.rs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -75,6 +75,9 @@ impl Device { proc.arg("peer"); proc.arg(pubkey.to_string()); + proc.arg("persistent-keepalive"); + proc.arg(conf.keepalive.to_string()); + if old_endpoint != conf.endpoint { if let Some(ref endpoint) = conf.endpoint { proc.arg("endpoint"); |