From f703565e5a4e29de8e03ff2f880e9c0879cb817d Mon Sep 17 00:00:00 2001 From: tobhe Date: Mon, 15 Nov 2021 22:37:35 +0000 Subject: [PATCH] style --- sbin/iked/ikev2.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 @@ -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); } -- 2.20.1