diff -Naur iptraf-3.0.0.orig/src/ifaces.c iptraf-3.0.0/src/ifaces.c --- iptraf-3.0.0.orig/src/ifaces.c 2005-09-13 10:42:54.000000000 +0400 +++ iptraf-3.0.0/src/ifaces.c 2007-09-02 12:34:21.000000000 +0400 @@ -32,14 +32,15 @@ #include "error.h" extern int accept_unsupported_interfaces; -#define NUM_SUPPORTED_IFACES 26 +#define NUM_SUPPORTED_IFACES 35 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" + "pent", "lec", "brg", "tun", "tap", "cipcb", "tunl", "vlan", "ath", + "bnep", "dsl", "modem", "ni", "br", "tap", "dummy", "vmnet" }; char *ltrim(char *buf) diff -Naur iptraf-3.0.0.orig/src/packet.c iptraf-3.0.0/src/packet.c --- iptraf-3.0.0.orig/src/packet.c 2005-09-13 10:42:54.000000000 +0400 +++ iptraf-3.0.0/src/packet.c 2007-09-02 12:37:52.000000000 +0400 @@ -107,6 +107,20 @@ result = LINK_ETHERNET; else if (strncmp(ifname, "tap", 3) == 0) 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, "ni", 2) == 0) + result = LINK_ETHERNET; + else if (strncmp(ifname, "tap", 3) == 0) + result = LINK_ETHERNET; + else if (strncmp(ifname, "dummy", 5) == 0) + result = LINK_ETHERNET; + else if (strncmp(ifname, "br", 2) == 0) + result = LINK_ETHERNET; + else if (strncmp(ifname, "vmnet", 5) == 0) + result = LINK_ETHERNET; else if ((strncmp(ifname, "isdn", 4) == 0) && (isdn_fd != -1)) { isdnent = isdn_table_lookup(isdnlist, ifname, isdn_fd); diff -Naur iptraf-3.0.0.orig/src/promisc.c iptraf-3.0.0/src/promisc.c --- iptraf-3.0.0.orig/src/promisc.c 2005-09-13 10:42:54.000000000 +0400 +++ iptraf-3.0.0/src/promisc.c 2007-09-02 12:38:54.000000000 +0400 @@ -83,6 +83,13 @@ if ((strncmp(buf, "eth", 3) == 0) || (strncmp(buf, "fddi", 4) == 0) || (strncmp(buf, "tr", 2) == 0) || + (strncmp(buf, "ath", 3) == 0) || + (strncmp(buf, "bnep", 4) == 0) || + (strncmp(buf, "ni", 2) == 0) || + (strncmp(buf, "tap", 3) == 0) || + (strncmp(buf, "dummy", 5) == 0) || + (strncmp(buf, "br", 2) == 0) || + (strncmp(buf, "vmnet", 5) == 0) || (strncmp(ptmp->params.ifname, "wvlan", 4) == 0) || (strncmp(ptmp->params.ifname, "lec", 3) == 0) || (accept_unsupported_interfaces)) {