diff options
author | tobhe <tobhe@cvs.openbsd.org> | 2020-08-26 14:49:49 +0000 |
---|---|---|
committer | tobhe <tobhe@cvs.openbsd.org> | 2020-08-26 14:49:49 +0000 |
commit | a66b30cbd457a955c7350f7594e69cd1808ee720 (patch) | |
tree | d2f9221632538069350c85c4de272bff89e6638c /sbin/iked/config.c | |
parent | 986533a68e64451bc52e2472a3421afe0de771a3 (diff) |
Allow disabling DPD liveness checks by setting dpd_check_interval to 0.
ok patrick@
Diffstat (limited to 'sbin/iked/config.c')
-rw-r--r-- | sbin/iked/config.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/iked/config.c b/sbin/iked/config.c index efe7217dc68..b834b8a5455 100644 --- a/sbin/iked/config.c +++ b/sbin/iked/config.c @@ -1,4 +1,4 @@ -/* $OpenBSD: config.c,v 1.64 2020/08/25 15:08:07 tobhe Exp $ */ +/* $OpenBSD: config.c,v 1.65 2020/08/26 14:49:48 tobhe Exp $ */ /* * Copyright (c) 2019 Tobias Heider <tobias.heider@stusta.de> @@ -1023,5 +1023,7 @@ config_getkey(struct iked *env, struct imsg *imsg) explicit_bzero(imsg->data, len); ca_getkey(&env->sc_ps, &id, imsg->hdr.type); + ikev2_reset_alive_timer(env); + return (0); } |