miniupnpd/bsd/ifacewatcher.c: RTM_ADD RTM_DELETE RTM_CHANGE

This commit is contained in:
Thomas Bernard 2014-04-18 10:26:58 +02:00
parent 848218fe2d
commit a310b3a0dc
1 changed files with 10 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $Id: ifacewatcher.c,v 1.7 2014/04/14 11:48:47 nanard Exp $ */ /* $Id: ifacewatcher.c,v 1.8 2014/04/18 08:23:51 nanard Exp $ */
/* Project MiniUPnP /* Project MiniUPnP
* web : http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ * web : http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
* (c) 2011 Thomas BERNARD * (c) 2011 Thomas BERNARD
@ -73,6 +73,15 @@ ProcessInterfaceWatchNotify(int s)
syslog(LOG_DEBUG, " RTM_IFINFO: addrs=%x flags=%x index=%hu", syslog(LOG_DEBUG, " RTM_IFINFO: addrs=%x flags=%x index=%hu",
ifm->ifm_addrs, ifm->ifm_flags, ifm->ifm_index); ifm->ifm_addrs, ifm->ifm_flags, ifm->ifm_index);
break; break;
case RTM_ADD: /* Add Route */
syslog(LOG_DEBUG, " RTM_ADD");
break;
case RTM_DELETE: /* Delete Route */
syslog(LOG_DEBUG, " RTM_DELETE");
break;
case RTM_CHANGE: /* Change Metrics or flags */
syslog(LOG_DEBUG, " RTM_CHANGE");
break;
case RTM_GET: /* Report Metrics */ case RTM_GET: /* Report Metrics */
syslog(LOG_DEBUG, " RTM_GET"); syslog(LOG_DEBUG, " RTM_GET");
break; break;