diff options
Diffstat (limited to 'src/wg.rs')
-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"); |