Changeset 111 for trunk/src/template.c

Show
Ignore:
Timestamp:
06/17/09 14:44:04 (13 years ago)
Author:
andreu
Message:

ticket #41 Pcap file integration

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/template.c

    r78 r111  
    212212#endif 
    213213          } 
     214#ifdef DEBUG   
    214215          syslog (LOG_INFO,  
    215                   "in new template: field nb gt 216, field lg gt 16 or too many fields, bad template definition possibility"); 
     216                  "New template: field nb, field lg or too many fields, bad template def possibility SId: %lu", 
     217                  v9Ptr->sourceId); 
     218#endif 
    216219          ptpltmp = cTFSPtr; 
    217220          if (ptpltmp->prev == NULL) { 
     
    309312#endif 
    310313          } 
     314#ifdef DEBUG 
    311315          syslog (LOG_INFO,  
    312316                  "in update template function: too many fields, bug collector or wrong template def in template update"); 
    313 #ifdef DEBUG 
    314317          fprintf(stderr,  
    315318                  "\nin update template function: too many fields, bug collector or wrong template def in template update\n");  
     
    469472                  cr->IpAddress<<16>>24, 
    470473                  cr->IpAddress<<24>>24); 
    471 #endif 
    472474          syslog (LOG_INFO,  
    473475                  "in option template function: too many fields, bug collector or wrong template def in template update"); 
    474 #ifdef DEBUG 
    475476          fprintf(stderr, 
    476477                  "\nin option template function: too many fields, bug collector or wrong template def in template update\n"); 
     
    566567                  cr->IpAddress<<16>>24, 
    567568                  cr->IpAddress<<24>>24); 
    568 #endif 
    569569          syslog (LOG_INFO,  
    570570                  "in update option tpl function: too many fields, bug collector or wrong template def in template update"); 
    571 #ifdef DEBUG 
    572571          fprintf(stderr, 
    573572                  "\nin update option tpl function: too many fields, bug collector or wrong template def in template update\n");