miniupnpd: update some TODO

This commit is contained in:
Thomas Bernard 2016-02-12 15:02:06 +01:00
parent bdac007771
commit db6f272bba
2 changed files with 11 additions and 0 deletions

View File

@ -20,3 +20,5 @@ support IGD v2 : http://upnp.org/specs/gw/igd2/
- ipfw/ipf : TODO
implement port_in_use() for NetBSD
- Do we need to TRIM arguments from SOAP ?

View File

@ -427,6 +427,15 @@ AddPortMapping(struct upnphttp * h, const char * action, const char * ns)
eport = (unsigned short)atoi(ext_port);
iport = (unsigned short)atoi(int_port);
/* TODO : check if we are supporting wildcard ExternalPort
if (strcmp(ext_port, "*") == 0 || eport == 0)
{
ClearNameValueList(&data);
SoapError(h, 716, "Wildcard not permited in ExtPort");
return;
}
*/
leaseduration = leaseduration_str ? atoi(leaseduration_str) : 0;
#ifdef IGD_V2
/* PortMappingLeaseDuration can be either a value between 1 and