]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Show compile-time variant for --multihome in --version output.
authorGert Doering <gert@greenie.muc.de>
Fri, 16 Sep 2016 19:45:11 +0000 (21:45 +0200)
committerGert Doering <gert@greenie.muc.de>
Sat, 17 Sep 2016 10:24:50 +0000 (12:24 +0200)
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 <gert@greenie.muc.de>
Acked-by: Arne Schwabe <arne@rfc2549.org>
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 <gert@greenie.muc.de>
src/openvpn/options.c

index e052042f3671f971617fd298f5a42425c0cf1d40..c9688c372638f013437f88aa359a36cd0569f22c 100644 (file)
@@ -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__