miniupnpd version prints backend

This commit is contained in:
Thomas Bernard 2019-10-13 22:16:45 +02:00
parent 1876efc823
commit aa08b09068
1 changed files with 15 additions and 0 deletions

View File

@ -2002,6 +2002,21 @@ main(int argc, char * * argv)
" " MINIUPNPD_GIT_REF
#endif
" " __DATE__ );
#ifdef USE_PF
puts("using pf backend");
#endif
#ifdef USE_IPF
puts("using ipf backend");
#endif
#ifdef USE_IPFW
puts("using ipfw backend");
#endif
#ifdef USE_IPTABLES
puts("using netfilter(iptables) backend");
#endif
#ifdef USE_NFTABLES
puts("using netfilter(nftables) backend");
#endif
#ifdef ENABLE_HTTPS
#ifdef OPENSSL_VERSION
puts(OpenSSL_version(OPENSSL_VERSION));