miniupnpd: fix build for nftables

This commit is contained in:
Thomas Bernard 2020-05-07 00:41:59 +02:00
parent 630f3ef681
commit 44c30b0a4e
1 changed files with 3 additions and 0 deletions

3
miniupnpd/configure vendored
View File

@ -524,6 +524,9 @@ case $FW in
MAKEFILE=Makefile.linux_nft MAKEFILE=Makefile.linux_nft
echo "#define USE_NETFILTER 1" >> ${CONFIGFILE} echo "#define USE_NETFILTER 1" >> ${CONFIGFILE}
echo "#define USE_NFTABLES 1" >> ${CONFIGFILE} echo "#define USE_NFTABLES 1" >> ${CONFIGFILE}
echo "# generated by $0 on `date`" > config.mk
echo "SRCDIR = ${BASEDIR}" >> config.mk
echo "CPPFLAGS += -I." >> config.mk
;; ;;
*) *)
echo "Unknown Firewall/packet filtering software [$FW]" echo "Unknown Firewall/packet filtering software [$FW]"