diff options
author | Gert Doering | 2016-09-16 21:45:11 +0200 |
---|---|---|
committer | Gert Doering | 2016-09-17 12:24:50 +0200 |
commit | d7c15ff12a8790c2ad2e0adc0e191c32f081463f (patch) | |
tree | e546bd36f008fd0d15742109c9423b9ce238aab5 /src/openvpn/options.c | |
parent | 7efa60d9790e029b8f9efd6a0ca06312d31d3420 (diff) | |
download | openvpn-d7c15ff12a8790c2ad2e0adc0e191c32f081463f.zip openvpn-d7c15ff12a8790c2ad2e0adc0e191c32f081463f.tar.gz |
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 <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>
Diffstat (limited to 'src/openvpn/options.c')
-rw-r--r-- | src/openvpn/options.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/openvpn/options.c b/src/openvpn/options.c index e052042..c9688c3 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__ |