libpcap on OSX

The other day I was playing with libpcap on my MacBook Pro. Every time I tried to run the code my wireless network connection was disconnected.

After a bit of playing around I also found this was happening with tcpdump. It appears that running tcpdump -i en1 where en1 is the wireless network interface works fine. I guess the problem is something to do with the call to scan for interfaces.

Spread the word. Share this post!

1 Comments

  1. Pingback: jadickinson » Blog Archive » libpcap OS X

Comments are closed.