Show
Ignore:
Timestamp:
04/20/07 16:31:36 (15 years ago)
Author:
andreu
Message:

bug of "template fantom" correction

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/routers_mgmt.c

    r28 r30  
    7575  TplFlowSetPtr tmp = (TplFlowSetPtr) malloc(sizeof(struct TemplateFlowSet)); 
    7676  tmp->sourceId = 0; 
    77   tmp->templateFlowSetId = 0; 
     77  tmp->templateFlowSetId = 99; 
    7878  tmp->fieldCount = 0; 
    7979  tmp->fieldSet = NULL; 
     
    8989  if (ptpl) { 
    9090    while ( ptpl->fieldSet != NULL ){ 
    91 /*       fprintf(stderr, "deleteTplFlSet\n"); */ 
    9291      if (!(ptpl->lastField->prev)) { 
    9392        freeField(ptpl->lastField); 
     
    104103    ptpl = NULL; 
    105104  } 
    106   return NULL; /* FIXME I don't known */ 
     105  return NULL; 
    107106} 
    108107 
     
    111110  TplOptionPtr tmp = (TplOptionPtr) malloc(sizeof(struct TemplateOption)); 
    112111  tmp->sourceId = 0; 
    113   tmp->templateOptionId = 0; 
     112  tmp->templateOptionId = 66; 
    114113  tmp->length = 0; 
    115114  tmp->optionScopeLg = 0; 
     
    127126  if (ptplo) { 
    128127    while ( ptplo->fieldSet != NULL ){ 
    129 /*       fprintf(stderr, "deleteTplFlSet\n"); */ 
    130128      if (!(ptplo->lastField->prev)) { 
    131129        freeField(ptplo->lastField);