- Timestamp:
- 09/10/07 15:47:51 (16 years ago)
- Location:
- trunk/src
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/dataFlowSet.c
r54 r55 261 261 #endif 262 262 #ifdef CRIHAN 263 /* FIXME : add this two following bloc in the case N = 4 */ 263 264 if (pftmp->fieldType==10){ 264 265 ipFirstCache.inSnmp = *((unsigned short*)&buffer2); 266 if ( (((RuleDefPtr)(*(myPtrs->rulesAddressPtr+pos)))->value->stor.svalue) 267 == (*((unsigned short*)&buffer2)) 268 ) 269 { 270 ((RuleDefPtr)(*(myPtrs->rulesAddressPtr+pos)))->check = 1; 271 } 265 272 } 266 273 if (pftmp->fieldType==14){ 267 274 ipFirstCache.outSnmp = *((unsigned short*)&buffer2); 275 if ( (((RuleDefPtr)(*(myPtrs->rulesAddressPtr+pos)))->value->stor.svalue) 276 == (*((unsigned short*)&buffer2)) 277 ) 278 { 279 ((RuleDefPtr)(*(myPtrs->rulesAddressPtr+pos)))->check = 1; 280 } 268 281 } 269 282 if (pftmp->fieldType==7){ -
trunk/src/rules_mgmt.c
r54 r55 467 467 tmp->fieldType = ft; 468 468 tmp->value = NULL; 469 if ((ft==25) || (ft==7) || (ft==11) ){469 if ((ft==25) || (ft==7) || (ft==11) || (ft==10) || (ft==14) ){ 470 470 tmp->value = addValue(tmp->value, operatorToNumber, value); 471 471 } else if ((ft==1)){