$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ --- iptraf-3.0.0.orig/src/othptab.c 2005-09-13 08:42:54.000000000 +0200 +++ iptraf-3.0.0/src/othptab.c 2008-10-09 17:34:11.000000000 +0200 @@ -19,7 +19,6 @@ details. #include #include #include -#include #include #include "arphdr.h" #include "options.h" @@ -139,11 +138,6 @@ struct othptabent *add_othp_entry(struct new_entry->smacaddr); convmacaddr(((struct ethhdr *) packet)->h_dest, new_entry->dmacaddr); - } else if (linkproto == LINK_FDDI) { - convmacaddr(((struct fddihdr *) packet)->saddr, - new_entry->smacaddr); - convmacaddr(((struct fddihdr *) packet)->daddr, - new_entry->dmacaddr); } else if (linkproto == LINK_TR) { convmacaddr(((struct trh_hdr *) packet)->saddr, new_entry->smacaddr); @@ -373,8 +367,7 @@ void printothpentry(struct othptable *ta strcat(msgstring, scratchpad); if ((entry->linkproto == LINK_ETHERNET) || - (entry->linkproto == LINK_PLIP) || - (entry->linkproto == LINK_FDDI)) { + (entry->linkproto == LINK_PLIP)) { sprintf(scratchpad, " from %s to %s on %s", entry->smacaddr, entry->dmacaddr, entry->iface);