miniupnpd/bsd/ifacewatcher.c: add case RTM_GET
This commit is contained in:
parent
a75719677a
commit
dee1fbe394
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: ifacewatcher.c,v 1.6 2014/03/31 12:27:14 nanard Exp $ */
|
/* $Id: ifacewatcher.c,v 1.7 2014/04/14 11:48:47 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,9 @@ 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_GET: /* Report Metrics */
|
||||||
|
syslog(LOG_DEBUG, " RTM_GET");
|
||||||
|
break;
|
||||||
#ifdef RTM_IFANNOUNCE
|
#ifdef RTM_IFANNOUNCE
|
||||||
case RTM_IFANNOUNCE: /* iface arrival/departure */
|
case RTM_IFANNOUNCE: /* iface arrival/departure */
|
||||||
ifanm = (struct if_announcemsghdr *)buf;
|
ifanm = (struct if_announcemsghdr *)buf;
|
||||||
|
|
Loading…
Reference in New Issue