miniupnpd: log message when shutting down

This commit is contained in:
Thomas Bernard 2014-02-28 13:16:22 +01:00
parent 6dff4263bd
commit 8fc7f0b5e1
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,8 @@
$Id: Changelog.txt,v 1.354 2014/02/28 12:14:29 nanard Exp $ $Id: Changelog.txt,v 1.354 2014/02/28 12:14:29 nanard Exp $
2014/02/28:
log message when shutting down
2014/02/25: 2014/02/25:
add implementation of scheduled sendto (asyncsendto) in order add implementation of scheduled sendto (asyncsendto) in order
to retry failed sendto() calls or schedule sending of packets to retry failed sendto() calls or schedule sending of packets

View File

@ -1,4 +1,4 @@
/* $Id: miniupnpd.c,v 1.183 2014/02/06 09:52:01 nanard Exp $ */ /* $Id: miniupnpd.c,v 1.185 2014/02/28 12:14:26 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-2014 Thomas Bernard * (c) 2006-2014 Thomas Bernard
@ -2026,6 +2026,7 @@ main(int argc, char * * argv)
} /* end of main loop */ } /* end of main loop */
shutdown: shutdown:
syslog(LOG_NOTICE, "shutting down MiniUPnPd");
/* send good-bye */ /* send good-bye */
if (GETFLAG(ENABLEUPNPMASK)) if (GETFLAG(ENABLEUPNPMASK))
{ {