diff --exclude=CVS --exclude=.svn -up --new-file --recursive iptraf-3.0.0.old/src/ifaces.c iptraf-3.0.0/src/ifaces.c --- iptraf-3.0.0.old/src/ifaces.c 2006-01-10 01:13:49.000000000 +0100 +++ iptraf-3.0.0/src/ifaces.c 2006-01-10 01:14:41.000000000 +0100 @@ -32,14 +32,14 @@ details. #include "error.h" extern int accept_unsupported_interfaces; -#define NUM_SUPPORTED_IFACES 27 +#define NUM_SUPPORTED_IFACES 28 extern int daemonized; char ifaces[][6] = { "lo", "eth", "sl", "ppp", "ippp", "plip", "fddi", "isdn", "dvb", "pvc", "hdlc", "ipsec", "sbni", "tr", "wvlan", "wlan", "sm2", "sm3", - "pent", "lec", "brg", "tun", "tap", "cipcb", "tunl", "vlan", "ath" + "pent", "lec", "brg", "tun", "tap", "cipcb", "tunl", "vlan", "ath", "bnep" }; char *ltrim(char *buf) diff --exclude=CVS --exclude=.svn -up --new-file --recursive iptraf-3.0.0.old/src/packet.c iptraf-3.0.0/src/packet.c --- iptraf-3.0.0.old/src/packet.c 2006-01-10 01:13:49.000000000 +0100 +++ iptraf-3.0.0/src/packet.c 2006-01-10 01:15:51.000000000 +0100 @@ -112,6 +112,8 @@ unsigned short getlinktype(unsigned shor result = LINK_ETHERNET; else if (strncmp(ifname, "ath", 3) == 0) result = LINK_ETHERNET; + else if (strncmp(ifname, "bnep", 4) == 0) + result = LINK_ETHERNET; else if ((strncmp(ifname, "isdn", 4) == 0) && (isdn_fd != -1)) { isdnent = isdn_table_lookup(isdnlist, ifname, isdn_fd); diff --exclude=CVS --exclude=.svn -up --new-file --recursive iptraf-3.0.0.old/src/promisc.c iptraf-3.0.0/src/promisc.c --- iptraf-3.0.0.old/src/promisc.c 2006-01-10 01:13:49.000000000 +0100 +++ iptraf-3.0.0/src/promisc.c 2006-01-10 01:17:02.000000000 +0100 @@ -84,6 +84,7 @@ void init_promisc_list(struct promisc_st (strncmp(buf, "fddi", 4) == 0) || (strncmp(buf, "tr", 2) == 0) || (strncmp(buf, "ath", 3) == 0) || + (strncmp(buf, "bnep", 4) == 0) || (strncmp(ptmp->params.ifname, "wvlan", 4) == 0) || (strncmp(ptmp->params.ifname, "lec", 3) == 0) || (accept_unsupported_interfaces)) {