--- iptraf-3.0.0/src/ifaces.c.orig 2005-09-13 08:42:54.000000000 +0200 +++ iptraf-3.0.0/src/ifaces.c 2006-01-30 15:45:16.000000000 +0100 @@ -32,14 +32,15 @@ #include "error.h" extern int accept_unsupported_interfaces; -#define NUM_SUPPORTED_IFACES 26 +#define NUM_SUPPORTED_IFACES 29 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", "hsi", + "ctc", "ath" }; char *ltrim(char *buf) --- iptraf-3.0.0/src/packet.c.orig 2005-09-13 08:42:54.000000000 +0200 +++ iptraf-3.0.0/src/packet.c 2006-01-30 16:07:18.000000000 +0100 @@ -107,6 +107,12 @@ result = LINK_ETHERNET; else if (strncmp(ifname, "tap", 3) == 0) result = LINK_ETHERNET; + else if (strncmp(ifname, "ctc", 3) == 0) + result = LINK_ETHERNET; + else if (strncmp(ifname, "hsi", 3) == 0) + result = LINK_ETHERNET; + else if (strncmp(ifname, "ath", 3) == 0) + result = LINK_ETHERNET; else if ((strncmp(ifname, "isdn", 4) == 0) && (isdn_fd != -1)) { isdnent = isdn_table_lookup(isdnlist, ifname, isdn_fd);