docs: fix simple typo, decription -> description

There is a small typo in miniupnpd/commonrdr.h, miniupnpd/ipf/ipfrdr.c, miniupnpd/pf/obsdrdr.c.

Should read `description` rather than `decription`.
This commit is contained in:
Tim Gates 2020-12-10 05:26:04 +11:00
parent ba130320f4
commit 341d0f51a2
No known key found for this signature in database
GPG Key ID: AE3BE0D53823CF05
3 changed files with 6 additions and 6 deletions

View File

@ -57,13 +57,13 @@ unsigned short *
get_portmappings_in_range(unsigned short startport, unsigned short endport,
int proto, unsigned int * number);
/* update the port mapping internal port, decription and timestamp */
/* update the port mapping internal port, description and timestamp */
int
update_portmapping(const char * ifname, unsigned short eport, int proto,
unsigned short iport, const char * desc,
unsigned int timestamp);
/* update the port mapping decription and timestamp */
/* update the port mapping description and timestamp */
int
update_portmapping_desc_timestamp(const char * ifname,
unsigned short eport, int proto,

View File

@ -804,7 +804,7 @@ get_portmappings_in_range(unsigned short startport, unsigned short endport,
return array;
}
/* update the port mapping internal port, decription and timestamp */
/* update the port mapping internal port, description and timestamp */
int
update_portmapping(const char * ifname, unsigned short eport, int proto,
unsigned short iport, const char * desc,
@ -817,7 +817,7 @@ update_portmapping(const char * ifname, unsigned short eport, int proto,
return -1;
}
/* update the port mapping decription and timestamp */
/* update the port mapping description and timestamp */
int
update_portmapping_desc_timestamp(const char * ifname,
unsigned short eport, int proto,

View File

@ -1379,7 +1379,7 @@ get_portmappings_in_range(unsigned short startport, unsigned short endport,
return array;
}
/* update the port mapping internal port, decription and timestamp */
/* update the port mapping internal port, description and timestamp */
int
update_portmapping(const char * ifname, unsigned short eport, int proto,
unsigned short iport, const char * desc,
@ -1406,7 +1406,7 @@ update_portmapping(const char * ifname, unsigned short eport, int proto,
return 0;
}
/* update the port mapping decription and timestamp */
/* update the port mapping description and timestamp */
int
update_portmapping_desc_timestamp(const char * ifname,
unsigned short eport, int proto,