Hi, I found the bug in your code:
Please remove the semicolon after the paratheses of the if clause. And everything should work fine! > if(packet == NULL); > { > printf("Didnt grab packet %s\n",errbuf); > exit(1); > } mfG Fabian Schneider -- Fabian Schneider, Technische Universität München address: Boltzmannstr. 3, 85748 Garching b. Münchenn e-mail: [EMAIL PROTECTED], WWW: http://www.net.in.tum.de/~schneifa phone: +49 89 289-18012, mobile: 0179/2427671 - This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe.