routing/miniupnpd/patches/106-enable_igdv2.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
288 B
Diff

--- a/genconfig.sh
+++ b/genconfig.sh
@@ -516,7 +516,7 @@ echo " * control points, so enable with
if [ -n "$IGD2" ]; then
echo "#define IGD_V2" >> ${CONFIGFILE}
else
- echo "/*#define IGD_V2*/" >> ${CONFIGFILE}
+ echo "#define IGD_V2" >> ${CONFIGFILE}
fi
echo "" >> ${CONFIGFILE}