mirror of
https://github.com/status-im/miniupnp.git
synced 2025-02-21 18:28:05 +00:00
add use(less ?)ful comments
This commit is contained in:
parent
55c959247b
commit
97c001d464
@ -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;
|
||||
|
@ -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}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user