packages/net/miniupnpc/patches/200-miniupnpc_desc.patch
swalker 1f3cbf484c [packages] miniupnpc: update to 1.5
* add libminiupnpc package
 * use PKG_INSTALL & MAKE_FLAGS
 * add copyright info
 * refresh patches


git-svn-id: svn://svn.openwrt.org/openwrt/packages@26921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-17 11:09:51 +00:00

12 lines
550 B
Diff

--- a/upnpcommands.c
+++ b/upnpcommands.c
@@ -351,7 +351,7 @@ UPNP_AddPortMapping(const char * control
AddPortMappingArgs[5].elt = "NewEnabled";
AddPortMappingArgs[5].val = "1";
AddPortMappingArgs[6].elt = "NewPortMappingDescription";
- AddPortMappingArgs[6].val = desc?desc:"libminiupnpc";
+ AddPortMappingArgs[6].val = desc?desc:"miniupnpc";
AddPortMappingArgs[7].elt = "NewLeaseDuration";
AddPortMappingArgs[7].val = "0";
if(simpleUPnPcommand(-1, controlURL, servicetype, "AddPortMapping", AddPortMappingArgs, buffer, &bufsize) < 0) {