> I got it to work.
(...)
> > default:           /* We got traffic */
> > pcap_dispatch(pcap0,-1, (void *) packet_callback, NULL);
> > pcap_dispatch(pcap1,-1, (void *) packet_callback2, NULL);

So that other may benefit from it in the future, I
guess your fixed version looks like:

default:
  if (t==pcap0) pcap_dispatch(pcap0,...)
  else if (t==pcap1) pcap_dispatch(pcap1,...)


-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.

Reply via email to