protocol[] can be "UDPLITE"

fixes #5034
This commit is contained in:
Thomas Bernard 2020-11-12 08:57:55 +01:00
parent 79858f9ec3
commit 22c1386351
No known key found for this signature in database
GPG Key ID: DB511043A31ACAAF
1 changed files with 1 additions and 1 deletions

View File

@ -588,7 +588,7 @@ upnp_get_portmapping_number_of_entries()
#else
int n = 0, r = 0;
unsigned short eport, iport;
char protocol[4], iaddr[32], desc[64], rhost[32];
char protocol[8], iaddr[32], desc[64], rhost[32];
unsigned int leaseduration;
do {
protocol[0] = '\0'; iaddr[0] = '\0'; desc[0] = '\0';