routing/miniupnpd/patches/105-enable_check_portinuse.patch
Daniel Engberg 30f5f90fc6 miniupnpd: Update to 2.0.20161216
Enable IGDv2 as v1 Device DCPs were deprecated as of March 30, 2015
Source: http://upnp.org/specs/gw/igd2

Enable port in use check

Patches are originally from the FreeBSD Ports repo and refreshed for this repo.
Source: https://svnweb.freebsd.org/ports/head/net/miniupnpd/files/

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-01-09 11:44:34 +01:00

11 lines
321 B
Diff

--- a/genconfig.sh
+++ b/genconfig.sh
@@ -467,7 +467,7 @@ echo "/* Uncomment the following line to
if [ -n "$PORTINUSE" ]; then
echo "#define CHECK_PORTINUSE" >> ${CONFIGFILE}
else
- echo "/*#define CHECK_PORTINUSE*/" >> ${CONFIGFILE}
+ echo "#define CHECK_PORTINUSE" >> ${CONFIGFILE}
fi
echo "" >> ${CONFIGFILE}