miniupnpd: improve (some) logs
This commit is contained in:
parent
a32df2ee1c
commit
241ede9ddf
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: minissdp.c,v 1.72 2014/10/22 11:54:45 nanard Exp $ */
|
/* $Id: minissdp.c,v 1.73 2015/01/17 11:26:05 nanard Exp $ */
|
||||||
/* MiniUPnP project
|
/* MiniUPnP project
|
||||||
* http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
|
* http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
|
||||||
* (c) 2006-2015 Thomas Bernard
|
* (c) 2006-2015 Thomas Bernard
|
||||||
|
@ -883,7 +883,9 @@ ProcessSSDPData(int s, const char *bufr, int n,
|
||||||
{
|
{
|
||||||
if (lan_addr == NULL)
|
if (lan_addr == NULL)
|
||||||
{
|
{
|
||||||
syslog(LOG_ERR, "Can't find in which sub network the client is");
|
syslog(LOG_ERR,
|
||||||
|
"Can't find in which sub network the client %s is",
|
||||||
|
sender_str);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
announced_host = lan_addr->str;
|
announced_host = lan_addr->str;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: miniupnpd.c,v 1.205 2014/12/10 09:33:25 nanard Exp $ */
|
/* $Id: miniupnpd.c,v 1.206 2015/01/17 11:26:04 nanard Exp $ */
|
||||||
/* MiniUPnP project
|
/* MiniUPnP project
|
||||||
* http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
|
* http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
|
||||||
* (c) 2006-2015 Thomas Bernard
|
* (c) 2006-2015 Thomas Bernard
|
||||||
|
@ -1640,7 +1640,7 @@ main(int argc, char * * argv)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
syslog(LOG_INFO, "Starting%s%swith external interface %s BOOTID=%u",
|
syslog(LOG_INFO, "version " MINIUPNPD_VERSION " starting%s%sext if %s BOOTID=%u",
|
||||||
#ifdef ENABLE_NATPMP
|
#ifdef ENABLE_NATPMP
|
||||||
#ifdef ENABLE_PCP
|
#ifdef ENABLE_PCP
|
||||||
GETFLAG(ENABLENATPMPMASK) ? " NAT-PMP/PCP " : " ",
|
GETFLAG(ENABLENATPMPMASK) ? " NAT-PMP/PCP " : " ",
|
||||||
|
|
Loading…
Reference in New Issue