mirror of
https://github.com/monero-project/monero.git
synced 2025-07-30 22:38:45 -04:00
update miniupnpc
This commit is contained in:
parent
bdc07f029a
commit
a4242c42b2
13 changed files with 174 additions and 68 deletions
4
external/miniupnpc/upnpcommands.c
vendored
4
external/miniupnpc/upnpcommands.c
vendored
|
@ -616,14 +616,14 @@ UPNP_GetGenericPortMappingEntry(const char * controlURL,
|
|||
protocol[3] = '\0';
|
||||
}
|
||||
p = GetValueFromNameValueList(&pdata, "NewInternalClient");
|
||||
if(p && intClient)
|
||||
if(p)
|
||||
{
|
||||
strncpy(intClient, p, 16);
|
||||
intClient[15] = '\0';
|
||||
r = 0;
|
||||
}
|
||||
p = GetValueFromNameValueList(&pdata, "NewInternalPort");
|
||||
if(p && intPort)
|
||||
if(p)
|
||||
{
|
||||
strncpy(intPort, p, 6);
|
||||
intPort[5] = '\0';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue