]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Remove explicit struct iovec check (HAVE_IOVEC)
authorArne Schwabe <arne@rfc2549.org>
Wed, 12 May 2021 13:15:03 +0000 (15:15 +0200)
committerGert Doering <gert@greenie.muc.de>
Fri, 14 May 2021 11:59:15 +0000 (13:59 +0200)
commit92994e682fa5f27e0c5126f16bbfae7d582c4e9c
tree6fa5a8fc37e20da2bee03c69595aa4ca43698c3e
parentfe39156a386bf0dbe79abe43717c84843830e3c0
Remove explicit struct iovec check (HAVE_IOVEC)

This macro is currently used only in 3 places in syshead.h
- EXTENDED_SOCKET_ERROR_CAPABILITY is linux specific anyway and
  starts with #if defined(HAVE_LINUX_TYPES_H)
- port share and ip_pktinfo macros depends on sendmsg/recvmsg
  that implicitly also require iovec

So in all three cases we can implicitly assume that iovec is present
and do not need to make this explicit check

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20210512131511.1309914-2-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg22343.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
configure.ac
src/openvpn/syshead.h