aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/showconf.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-07-08 02:30:03 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2016-07-08 02:43:33 +0200
commitfc743caf3bcc45da705ac10b656279558db28955 (patch)
tree57a6ede75fbcf4943d727ef7dd218990d6e7097d /src/showconf.c
parentgo test: don't rely on undefined append behavior (diff)
downloadwireguard-tools-fc743caf3bcc45da705ac10b656279558db28955.tar.xz
wireguard-tools-fc743caf3bcc45da705ac10b656279558db28955.zip
persistent keepalive: add userspace support
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/showconf.c')
-rw-r--r--src/showconf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/showconf.c b/src/showconf.c
index faf2482..95d2e17 100644
--- a/src/showconf.c
+++ b/src/showconf.c
@@ -91,6 +91,9 @@ int showconf_main(int argc, char *argv[])
}
}
+ if (peer->persistent_keepalive_interval)
+ printf("PersistentKeepalive = %u\n", peer->persistent_keepalive_interval);
+
if (i + 1 < device->num_peers)
printf("\n");
}