add use(less ?)ful comments

This commit is contained in:
Thomas Bernard 2014-10-06 14:44:45 +02:00
parent 55c959247b
commit 97c001d464
2 changed files with 4 additions and 3 deletions

View File

@ -261,6 +261,7 @@ processMSEARCH(int s, const char * st, int st_len,
ntohs(((const struct sockaddr_in *)addr)->sin_port),
st_len, st);
#endif
/* TODO : ignore packet if not coming from a LAN */
if(st_len==8 && (0==memcmp(st, "ssdp:all", 8))) {
/* send a response for all services */
for(serv = servicelisthead.lh_first;

View File

@ -368,9 +368,9 @@ static const struct argument GetExternalIPAddressArgs[] =
static const struct argument DeletePortMappingArgs[] =
{
{1, 11},
{1, 12},
{1, 14},
{1, 11}, /* RemoteHost */
{1, 12}, /* ExternalPort */
{1, 14}, /* PortMappingProtocol */
{0, 0}
};