strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20e32cf
)
disable DPD if dpddelay is set but dpdaction=none
author
Martin Willi
<martin@strongswan.org>
Wed, 16 Apr 2008 05:50:56 +0000
(
05:50
-0000)
committer
Martin Willi
<martin@strongswan.org>
Wed, 16 Apr 2008 05:50:56 +0000
(
05:50
-0000)
src/charon/plugins/stroke/stroke_config.c
patch
|
blob
|
history
diff --git
a/src/charon/plugins/stroke/stroke_config.c
b/src/charon/plugins/stroke/stroke_config.c
index
5c2cb55
..
11278b5
100644
(file)
--- a/
src/charon/plugins/stroke/stroke_config.c
+++ b/
src/charon/plugins/stroke/stroke_config.c
@@
-497,6
+497,11
@@
static peer_cfg_t *build_peer_cfg(private_stroke_config_t *this,
unique = UNIQUE_NO;
break;
}
+ if (msg->add_conn.dpd.action == 0)
+ { /* dpdaction=none disables DPD */
+ msg->add_conn.dpd.delay = 0;
+ }
+
/* other.sourceip is managed in stroke_attributes. If it is set, we define
* the pool name as the connection name, which the attribute provider
* uses to serve pool addresses. */