packages/net/miniupnpc/patches/200-miniupnpc_desc.patch
jow e2add246a1 [packages] add miniupnpc, a small commandline upnp client (#7951)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@23077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-16 00:54:12 +00:00

12 lines
596 B
Diff

--- miniupnpc-1.4/upnpcommands.c 2009-07-13 01:44:43.000000000 -0700
+++ miniupnpc-1.4/upnpcommands.c 2010-03-03 13:33:21.000000000 -0800
@@ -335,7 +335,7 @@
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";
simpleUPnPcommand(-1, controlURL, servicetype, "AddPortMapping", AddPortMappingArgs, buffer, &bufsize);