diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2021-03-02 03:31:26 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2021-03-02 03:31:26 +0000 |
commit | 9495a4989acc1c3b672ec61cc2434fc6e67820df (patch) | |
tree | d450e72652ba999d10a83ad1f43c31a2bcf1d629 /sbin | |
parent | 2bfa57617cc50f048ba4e6f6258ed917107cc12a (diff) |
Increase the size of iov in pfkey_sa() to be large enough for all
possible options.
ok tobhe@
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/iked/pfkey.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/iked/pfkey.c b/sbin/iked/pfkey.c index a73fe0f1ccd..4ec1efc7847 100644 --- a/sbin/iked/pfkey.c +++ b/sbin/iked/pfkey.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfkey.c,v 1.76 2021/01/29 21:26:06 tobhe Exp $ */ +/* $OpenBSD: pfkey.c,v 1.77 2021/03/02 03:31:25 jsg Exp $ */ /* * Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org> @@ -40,7 +40,7 @@ #include "ikev2.h" #define ROUNDUP(x) (((x) + (PFKEYV2_CHUNK - 1)) & ~(PFKEYV2_CHUNK - 1)) -#define IOV_CNT 21 +#define IOV_CNT 27 #define PFKEYV2_CHUNK sizeof(uint64_t) #define PFKEY_REPLY_TIMEOUT 1000 |