--- upstream/dynamips-0.2.7-RC1/net_io_filter.h 2007/10/06 16:23:47 7 +++ upstream/dynamips-0.2.7-RC2/net_io_filter.h 2007/10/06 16:24:54 8 @@ -20,10 +20,12 @@ #define NETIO_FILTER_DIR_TX 1 #define NETIO_FILTER_DIR_BOTH 2 +#ifdef GEN_ETH struct netio_filter_capture { pcap_t *desc; pcap_dumper_t *dumper; }; +#endif /* Find a filter */ netio_pktfilter_t *netio_filter_find(char *name);