Changeset 110 for trunk/source/ipfm.c

Show
Ignore:
Timestamp:
06.08.2005 00:14:53 (3 years ago)
Author:
tibob
Message:

- Changed from pcap_next to pcap_next_ex so we are able to know if ter is an error or a time-out. Closes #1
- Added a debug message before we do anything.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/source/ipfm.c

    r101 r110  
    5555#include "pcap.h" 
    5656#include "utils.h" 
     57#include "debug.h" 
    5758 
    5859struct AllLogsType * pAllLogs = NULL; 
     
    6364  struct ip *p_packet; 
    6465  struct AllLogsType * pTempLog; 
     66   
     67  DEBUG_MSG("Starting IPFM\n"); 
    6568   
    6669  ParseCmdLine(argc, argv);