Diff for /embedaddon/miniupnpd/bsd/ifacewatcher.c between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/05/29 12:55:57 version 1.1.1.2, 2013/07/22 00:32:35
Line 13 Line 13
 #include <net/if.h>  #include <net/if.h>
 #include <net/route.h>  #include <net/route.h>
 #include <syslog.h>  #include <syslog.h>
   #include <signal.h>
   
 #if !defined(SA_LEN)  #if !defined(SA_LEN)
 #define SA_LEN(sa)      (sa)->sa_len  #define SA_LEN(sa)      (sa)->sa_len
Line 24 Line 25
 #include "../upnputils.h"  #include "../upnputils.h"
 #include "../upnpglobalvars.h"  #include "../upnpglobalvars.h"
   
extern volatile int should_send_public_address_change_notif;extern volatile sig_atomic_t should_send_public_address_change_notif;
   
 int  int
 OpenAndConfInterfaceWatchSocket(void)  OpenAndConfInterfaceWatchSocket(void)
Line 69  ProcessInterfaceWatchNotify(int s) Line 70  ProcessInterfaceWatchNotify(int s)
         }          }
         rtm = (struct rt_msghdr *)buf;          rtm = (struct rt_msghdr *)buf;
         syslog(LOG_DEBUG, "%u rt_msg : msglen=%d version=%d type=%d", (unsigned)len,          syslog(LOG_DEBUG, "%u rt_msg : msglen=%d version=%d type=%d", (unsigned)len,
               rtm->rtm_msglen, rtm->rtm_version, rtm->rtm_type);                      rtm->rtm_msglen, rtm->rtm_version, rtm->rtm_type);
         switch(rtm->rtm_type) {          switch(rtm->rtm_type) {
         case RTM_IFINFO:        /* iface going up/down etc. */          case RTM_IFINFO:        /* iface going up/down etc. */
                 ifm = (struct if_msghdr *)buf;                  ifm = (struct if_msghdr *)buf;

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>