diff --git a/miniupnpd/commonrdr.h b/miniupnpd/commonrdr.h index cc10f93..6d8ebab 100644 --- a/miniupnpd/commonrdr.h +++ b/miniupnpd/commonrdr.h @@ -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, diff --git a/miniupnpd/ipf/ipfrdr.c b/miniupnpd/ipf/ipfrdr.c index 653cb6a..4b10c31 100644 --- a/miniupnpd/ipf/ipfrdr.c +++ b/miniupnpd/ipf/ipfrdr.c @@ -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, diff --git a/miniupnpd/pf/obsdrdr.c b/miniupnpd/pf/obsdrdr.c index 26fb92e..f064ee2 100644 --- a/miniupnpd/pf/obsdrdr.c +++ b/miniupnpd/pf/obsdrdr.c @@ -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,