aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pluto/connections.c2
-rw-r--r--src/starter/ipsec.conf.5.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pluto/connections.c b/src/pluto/connections.c
index e40641a2e..b801ee836 100644
--- a/src/pluto/connections.c
+++ b/src/pluto/connections.c
@@ -1191,7 +1191,7 @@ void add_connection(const whack_message_t *wm)
}
c->spd.next = NULL;
- c->spd.reqid = gen_reqid();
+ c->spd.reqid = wm->reqid ?: gen_reqid();
c->spd.mark_in.value = wm->mark_in.value;
c->spd.mark_in.mask = wm->mark_in.mask;
diff --git a/src/starter/ipsec.conf.5.in b/src/starter/ipsec.conf.5.in
index de19cec29..f69e2226b 100644
--- a/src/starter/ipsec.conf.5.in
+++ b/src/starter/ipsec.conf.5.in
@@ -944,7 +944,7 @@ synonym for
.BR margintime .
.TP
.B reqid
-sets the reqid for a given connection to a pre-configured fixed value (IKEv2 only).
+sets the reqid for a given connection to a pre-configured fixed value.
.TP
.B type
the type of the connection; currently the accepted values