tcpdump mailing list archives
Re: didnt grab packet
From: Fabian Schneider <schneifa () net in tum de>
Date: Fri, 9 Jun 2006 10:18:50 +0200 (CEST)
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: fabian () net in tum de, 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.
Current thread:
- didnt grab packet lalani (Jun 08)
- Re: didnt grab packet Fabian Schneider (Jun 09)