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
Hi guys,
This is code which has been modified from a program which is
floating on the net.
The output says didnt grab packet. I wonder why.
I am giving the command 'a.out '
The same file is read by 'tcpdump -r '
Can someone say me why and how I can fix it.
Thanks in advance.
zubin
#in