Changeset 15 for trunk/src/renetcol.c

Show
Ignore:
Timestamp:
03/16/06 17:45:26 (17 years ago)
Author:
andreu
Message:

?

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/renetcol.c

    r13 r15  
    131131  } 
    132132 
     133  /* handler, SIGUSR1 from renetcolSender */ 
    133134  myAction.sa_handler = sigusr1Mgmt; 
    134135  myAction.sa_flags = SA_RESTART; 
     
    167168  initStream(); 
    168169 
    169   datagramNumber =0; 
    170  
    171   /* TIME */ 
     170  datagramNumber =0; /* FIXME : ???? */ 
     171 
    172172  now = time((time_t *)NULL); 
    173173  tmPtr = localtime(&now); 
    174   socketLoop(); 
     174  socketLoop(); /* all work on datagram is made here */ 
    175175  closelog(); 
    176176  fprintf(stderr, "END\n"); 
     
    332332            getNetFlowHeader(pcktPtr, ptr_buffer,  
    333333                             currentHeaderV9Ptr, offsetV9Ptr)){ 
    334     case 1: 
    335       checkNetFlowHeader(pcktPtr); 
    336       break; 
    337     case 5: 
    338 /*       syslog(LOG_INFO,  */ 
    339 /*           "NetFlow export version 5 from router: %lu.%lu.%lu.%lu", */ 
    340 /*           (pcktPtr->ipH->srcAdd>>24), */ 
    341 /*           (pcktPtr->ipH->srcAdd<<8>>24), */ 
    342 /*           (pcktPtr->ipH->srcAdd<<16>>24), */ 
    343 /*           (pcktPtr->ipH->srcAdd<<24>>24)); */ 
    344       break; 
    345334    case 9: 
    346335      if ((currentRouterPtr=notExistRouter(routersListPtr,