upnpc.c: GetListOfPortMappings NewStartPort 0 => 1
that's no point in listing port mappings with port from 0 to 65535, 1 to 65535 is OK ;)
This commit is contained in:
parent
5861f92425
commit
e663006e68
|
@ -188,7 +188,7 @@ static void NewListRedirections(struct UPNPUrls * urls,
|
|||
memset(&pdata, 0, sizeof(struct PortMappingParserData));
|
||||
r = UPNP_GetListOfPortMappings(urls->controlURL,
|
||||
data->first.servicetype,
|
||||
"0",
|
||||
"1",
|
||||
"65535",
|
||||
"TCP",
|
||||
"1000",
|
||||
|
@ -214,7 +214,7 @@ static void NewListRedirections(struct UPNPUrls * urls,
|
|||
}
|
||||
r = UPNP_GetListOfPortMappings(urls->controlURL,
|
||||
data->first.servicetype,
|
||||
"0",
|
||||
"1",
|
||||
"65535",
|
||||
"UDP",
|
||||
"1000",
|
||||
|
|
Loading…
Reference in New Issue