Changeset 22:0b3b46da2c12 in freeDiameter for freeDiameter/fdd.y
- Timestamp:
- Oct 19, 2009, 6:43:09 PM (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
freeDiameter/fdd.y
r20 r22 336 336 /* Now destroy any content in the structure */ 337 337 free(fddpi.pi_diamid); 338 free(fddpi.pi_sec_data.priority); 338 339 while (!FD_IS_LIST_EMPTY(&fddpi.pi_endpoints)) { 339 340 struct fd_list * li = fddpi.pi_endpoints.next; … … 415 416 fddpi.pi_port = (uint16_t)$4; 416 417 } 417 | peerparams SCTPSTREAMS '=' INTEGER ';'418 {419 CHECK_PARAMS_DO( ($4 > 0) && ($4 < 1<<16),420 { yyerror (&yylloc, conf, "Invalid value"); YYERROR; } );421 fddpi.pi_streams = (uint16_t)$4;422 }423 418 | peerparams TCTIMER '=' INTEGER ';' 424 419 { 425 420 fddpi.pi_tctimer = $4; 421 } 422 | peerparams TLS_PRIO '=' QSTRING ';' 423 { 424 fddpi.pi_sec_data.priority = $4; 426 425 } 427 426 | peerparams TWTIMER '=' INTEGER ';'
Note: See TracChangeset
for help on using the changeset viewer.