fix minor typo
This commit is contained in:
parent
55752518f0
commit
a43beeccf1
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: minissdpd.c,v 1.45 2015/02/08 08:51:54 nanard Exp $ */
|
/* $Id: minissdpd.c,v 1.47 2015/05/27 12:43:14 nanard Exp $ */
|
||||||
/* MiniUPnP project
|
/* MiniUPnP project
|
||||||
* (c) 2007-2015 Thomas Bernard
|
* (c) 2007-2015 Thomas Bernard
|
||||||
* website : http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
|
* website : http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
|
||||||
|
@ -915,7 +915,7 @@ void processRequest(struct reqelem * req)
|
||||||
serv = serv->entries.le_next) {
|
serv = serv->entries.le_next) {
|
||||||
if(0 == strcmp(newserv->usn, serv->usn)
|
if(0 == strcmp(newserv->usn, serv->usn)
|
||||||
&& 0 == strcmp(newserv->st, serv->st)) {
|
&& 0 == strcmp(newserv->st, serv->st)) {
|
||||||
syslog(LOG_INFO, "Service allready in the list. Updating...");
|
syslog(LOG_INFO, "Service already in the list. Updating...");
|
||||||
free(newserv->st);
|
free(newserv->st);
|
||||||
free(newserv->usn);
|
free(newserv->usn);
|
||||||
free(serv->server);
|
free(serv->server);
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: natpmp.c,v 1.51 2015/02/08 09:18:15 nanard Exp $ */
|
/* $Id: natpmp.c,v 1.52 2015/05/27 12:43:14 nanard Exp $ */
|
||||||
/* MiniUPnP project
|
/* MiniUPnP project
|
||||||
* (c) 2007-2015 Thomas Bernard
|
* (c) 2007-2015 Thomas Bernard
|
||||||
* http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
|
* http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
|
||||||
|
@ -394,7 +394,7 @@ void ProcessIncomingNATPMPPacket(int s, unsigned char *msg_buff, int len,
|
||||||
if(r==0) {
|
if(r==0) {
|
||||||
if(strcmp(senderaddrstr, iaddr_old)==0
|
if(strcmp(senderaddrstr, iaddr_old)==0
|
||||||
&& iport==iport_old) {
|
&& iport==iport_old) {
|
||||||
/* redirection allready existing */
|
/* redirection already existing */
|
||||||
syslog(LOG_INFO, "port %hu %s already redirected to %s:%hu, replacing",
|
syslog(LOG_INFO, "port %hu %s already redirected to %s:%hu, replacing",
|
||||||
eport, (proto==IPPROTO_TCP)?"tcp":"udp", iaddr_old, iport_old);
|
eport, (proto==IPPROTO_TCP)?"tcp":"udp", iaddr_old, iport_old);
|
||||||
/* remove and then add again */
|
/* remove and then add again */
|
||||||
|
|
Loading…
Reference in New Issue