mirror of
https://github.com/status-im/miniupnp.git
synced 2025-02-21 02:08:10 +00:00
miniupnpd: add a short list of build-time options in --version output
This commit is contained in:
parent
37c29a3716
commit
19aa26df7e
@ -1,4 +1,8 @@
|
||||
$Id: Changelog.txt,v 1.498 2023/02/17 03:18:51 nanard Exp $
|
||||
$Id: Changelog.txt,v 1.500 2023/05/27 09:55:39 nanard Exp $
|
||||
|
||||
2023/05/27:
|
||||
option enable_natpmp => enable_pcp_pmp
|
||||
add a short list of build-time options in --version output
|
||||
|
||||
VERSION 2.3.3 : released on 2023/02/17
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $Id: miniupnpd.c,v 1.255 2023/05/27 09:33:16 nanard Exp $ */
|
||||
/* $Id: miniupnpd.c,v 1.256 2023/05/27 09:55:40 nanard Exp $ */
|
||||
/* vim: tabstop=4 shiftwidth=4 noexpandtab
|
||||
* MiniUPnP project
|
||||
* http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/
|
||||
@ -2184,6 +2184,41 @@ main(int argc, char * * argv)
|
||||
puts(SSLeay_version(SSLEAY_VERSION));
|
||||
#endif
|
||||
#endif
|
||||
puts("build options:"
|
||||
#ifdef USE_MINIUPNPDCTL
|
||||
" miniupnpdctl"
|
||||
#endif
|
||||
#ifdef ENABLE_IPV6
|
||||
" ipv6"
|
||||
#endif
|
||||
#ifdef UPNP_STRICT
|
||||
" strict"
|
||||
#endif
|
||||
#ifdef ENABLE_NATPMP
|
||||
" NAT-PMP"
|
||||
#endif
|
||||
#ifdef ENABLE_PCP
|
||||
" PCP"
|
||||
#ifdef PCP_PEER
|
||||
" PCP-PEER"
|
||||
#endif
|
||||
#ifdef PCP_FLOWP
|
||||
" PCP-FLOWP"
|
||||
#endif
|
||||
#ifdef PCP_SADSCP
|
||||
" PCP-SADSCP"
|
||||
#endif
|
||||
#endif /* ENABLE_PCP */
|
||||
#ifdef ENABLE_LEASEFILE
|
||||
" leasefile"
|
||||
#endif
|
||||
#ifdef CHECK_PORTINUSE
|
||||
" check_portinuse"
|
||||
#endif
|
||||
#ifdef IGD_V2
|
||||
" igdv2"
|
||||
#endif
|
||||
);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user