miniupnpd: Update to 2.0.20161216
[feed/routing.git] / miniupnpd / patches / 105-enable_check_portinuse.patch
diff --git a/miniupnpd/patches/105-enable_check_portinuse.patch b/miniupnpd/patches/105-enable_check_portinuse.patch
new file mode 100644 (file)
index 0000000..8bf6c33
--- /dev/null
@@ -0,0 +1,11 @@
+--- 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}