Signed-off-by: Steven Barth <steven@midlink.org>
PKG_NAME:=miniupnpd
PKG_VERSION:=1.8.20140523
-PKG_RELEASE:=3
+PKG_RELEASE:=4
PKG_SOURCE_URL:=http://miniupnp.free.fr/files
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
SECTION:=net
CATEGORY:=Network
DEPENDS:=+iptables +libip4tc +IPV6:libip6tc +IPV6:ip6tables +libnfnetlink
- TITLE:=Lightweight UPnP daemon
+ TITLE:=Lightweight UPnP IGD, NAT-PMP & PCP daemon
SUBMENU:=Firewall
URL:=http://miniupnp.free.fr/
endef
--- /dev/null
+--- a/natpmp.c
++++ b/natpmp.c
+@@ -54,7 +54,7 @@ INLINE void writenu32(uint8_t * p, uint3
+ #define WRITENU32(p, n) writenu32(p, n)
+ INLINE void writenu16(uint8_t * p, uint16_t n)
+ {
+- p[0] = (n < 0xff00) >> 8;
++ p[0] = (n & 0xff00) >> 8;
+ p[1] = n & 0xff;
+ }
+ #define WRITENU16(p, n) writenu16(p, n)