2011-05-17 11:09:51 +00:00
|
|
|
--- a/upnpcommands.c
|
|
|
|
+++ b/upnpcommands.c
|
2012-12-18 03:36:00 +00:00
|
|
|
@@ -367,7 +367,7 @@ UPNP_AddPortMapping(const char * control
|
2010-09-16 00:54:12 +00:00
|
|
|
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";
|
2012-12-18 03:36:00 +00:00
|
|
|
AddPortMappingArgs[7].val = leaseDuration?leaseDuration:"0";
|
|
|
|
if(!(buffer = simpleUPnPcommand(-1, controlURL, servicetype,
|