From aa08b09068dd73832b6f119e0a133ad21905bafa Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Sun, 13 Oct 2019 22:16:45 +0200 Subject: [PATCH] miniupnpd version prints backend --- miniupnpd/miniupnpd.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/miniupnpd/miniupnpd.c b/miniupnpd/miniupnpd.c index 84f15d2..c4a8602 100644 --- a/miniupnpd/miniupnpd.c +++ b/miniupnpd/miniupnpd.c @@ -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));