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

version 1.1.1.1, 2012/02/21 23:16:02 version 1.1.1.2, 2013/07/22 00:32:35
Line 9 Line 9
 #include <sys/types.h>  #include <sys/types.h>
 #include <sys/socket.h>  #include <sys/socket.h>
 #include <net/if.h>  #include <net/if.h>
 #include <arpa/inet.h>  
 #include <netinet/in.h>  #include <netinet/in.h>
   #include <arpa/inet.h>
 #if defined(__FreeBSD__) || defined(__DragonFly__)  #if defined(__FreeBSD__) || defined(__DragonFly__)
 #include <net/if_var.h>  #include <net/if_var.h>
 #endif  #endif
Line 30 Line 30
 #include "../getifstats.h"  #include "../getifstats.h"
 #include "../config.h"  #include "../config.h"
   
struct nlist list[] = {static struct nlist list[] = {
        {"_ifnet"},        {"_ifnet", 0, 0, 0, 0},
        {NULL}        {NULL,0, 0, 0, 0}
 };  };
   
int int
 getifstats(const char * ifname, struct ifdata * data)  getifstats(const char * ifname, struct ifdata * data)
 {  {
 #if defined(__FreeBSD__) || defined(__DragonFly__)  #if defined(__FreeBSD__) || defined(__DragonFly__)

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


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