Show compile-time variant for --multihome in --version output.
PATCH 1/1 Show compile-time variant for --multihome in --version output.
Instead of just [MH], show [MH/PKTINFO] or [MH/RECVDA], to see more easily which compile-time variant was chosen by configure and syshead.h
Signed-off-by Gert Doering <[email protected]...>
--- src/openvpn/options.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
src/openvpn/options.c +5 -1
@@ -97,7 +97,11 @@ const char title_string[] = " [PKCS11]"#endif #if ENABLE_IP_PKTINFO - " [MH]" +# if defined(HAVE_IN_PKTINFO ) && defined(HAVE_IPI_SPEC_DST ) + " [MH/PKTINFO]" +# elif defined(IP_RECVDSTADDR ) + " [MH/RECVDA]" +# endif #endif " [IPv6]" " built on " __DATE__
Signature · 1 line
2.9.2
Am 16.09.16 um 22:45 schrieb Gert Doering:
Quoted 3 lines
Instead of just [MH], show [MH/PKTINFO] or [MH/RECVDA], to see more easily which compile-time variant was chosen by configure and
syshead.h
ACK from me.
Arne
Your patch has been applied to the master branch.
commit d7c15ff12a8790c2ad2e0adc0e191c32f081463f
Author: Gert Doering Date: Fri Sep 16 21:45:11 2016 +0200
Show compile-time variant for --multihome in --version output.
Signed-off-by: Gert Doering <[email protected]...>
Acked-by: Arne Schwabe <[email protected]...>
Message-Id: <[email protected]...>
URL: http://www.mail-archive.com/search?l=mid&[email protected]...
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering