From: Gert Doering Date: Fri, 16 Sep 2016 19:45:11 +0000 (+0200) Subject: Show compile-time variant for --multihome in --version output. X-Git-Tag: v2.4_alpha1~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7c15ff12a8790c2ad2e0adc0e191c32f081463f;p=thirdparty%2Fopenvpn.git 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 Acked-by: Arne Schwabe Message-Id: <20160916194511.46137-1-gert@greenie.muc.de> URL: http://www.mail-archive.com/search?l=mid&q=20160916194511.46137-1-gert@greenie.muc.de Signed-off-by: Gert Doering --- diff --git a/src/openvpn/options.c b/src/openvpn/options.c index e052042f3..c9688c372 100644 --- a/src/openvpn/options.c +++ b/src/openvpn/options.c @@ -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__