diff options
author | Tobias Heider <tobhe@cvs.openbsd.org> | 2021-11-15 22:37:36 +0000 |
---|---|---|
committer | Tobias Heider <tobhe@cvs.openbsd.org> | 2021-11-15 22:37:36 +0000 |
commit | 06d3b8b0626b151d879bfc5feb75ea5f14409150 (patch) | |
tree | fe6a972dc0a862ed79f2da0e7301158df96900f5 | |
parent | 101b5af1a9e4a7d1b81b3ca3f4bffb69ee47c203 (diff) |
style
-rw-r--r-- | sbin/iked/ikev2.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/iked/ikev2.c b/sbin/iked/ikev2.c index 99366f4432a..56287e57f13 100644 --- a/sbin/iked/ikev2.c +++ b/sbin/iked/ikev2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ikev2.c,v 1.330 2021/11/10 13:09:05 tobhe Exp $ */ +/* $OpenBSD: ikev2.c,v 1.331 2021/11/15 22:37:35 tobhe Exp $ */ /* * Copyright (c) 2019 Tobias Heider <tobias.heider@stusta.de> @@ -3146,12 +3146,14 @@ ikev2_handle_notifies(struct iked *env, struct iked_message *msg) /* Signature hash algorithm */ if (msg->msg_flags & IKED_MSG_FLAGS_SIGSHA2) sa->sa_sigsha2 = 1; + if (msg->msg_flags & IKED_MSG_FLAGS_USE_TRANSPORT) sa->sa_use_transport_mode = 1; if ((msg->msg_flags & IKED_MSG_FLAGS_TEMPORARY_FAILURE) && sa->sa_nexti != NULL) sa->sa_tmpfail = 1; + return (0); } |