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:
Thomas Bernard 2023-06-05 09:15:53 +02:00
parent 5861f92425
commit e663006e68
No known key found for this signature in database
GPG Key ID: DB511043A31ACAAF
1 changed files with 2 additions and 2 deletions

View File

@ -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",