Hi,

On Sat, Jan 12, 2013 at 01:41:17PM +0100, Matthias Andree wrote:
> The missing #include <netinet/tcp.h> causes a defined(TCP_NODELAY) to
> fail.  I have added the patch to the FreeBSD ports OpenVPN 2.2.2 and
> 2.3.0, and confirmed (with strings ... | grep) that the TCP_NODELAY code
> is now part of the executable on amd64, and results in this log output:
> 
> Sat Jan 12 13:39:18 2013 Listening for incoming TCP connection on [undef]
> Sat Jan 12 13:39:18 2013 Socket flags: TCP_NODELAY=1 succeeded
> 
> Obtained from: https://community.openvpn.net/openvpn/ticket/158
> Credits to: M. Nottebrock
> 
> Signed-off-by: Matthias Andree <matthias.and...@gmx.de>

ACK, "obviously logical" - needs a build test across all other platforms
to check whether some obscure OS (like "Linux" or "Solaris" or "MinGW")
chokes if that header is included now, but I don't expect issues.

2.3.1 and master, I'd say :-)

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Attachment: pgpzeWaLbPgZj.pgp
Description: PGP signature

Reply via email to