Changeset 1012:cafdcbcb5e79 in freeDiameter for libfdcore
- Timestamp:
- Mar 28, 2013, 12:20:50 PM (11 years ago)
- Branch:
- default
- Children:
- 1013:7b5c46505e09, 1015:8af24e6143ce
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdcore/fdd.y
r974 r1012 192 192 port: PORT '=' INTEGER ';' 193 193 { 194 CHECK_PARAMS_DO( ($3 > 0) && ($3 < 1<<16),194 CHECK_PARAMS_DO( ($3 >= 0) && ($3 < 1<<16), 195 195 { yyerror (&yylloc, conf, "Invalid value"); YYERROR; } ); 196 196 conf->cnf_port = (uint16_t)$3; … … 200 200 secport: SECPORT '=' INTEGER ';' 201 201 { 202 CHECK_PARAMS_DO( ($3 > 0) && ($3 < 1<<16),202 CHECK_PARAMS_DO( ($3 >= 0) && ($3 < 1<<16), 203 203 { yyerror (&yylloc, conf, "Invalid value"); YYERROR; } ); 204 204 conf->cnf_port_tls = (uint16_t)$3;
Note: See TracChangeset
for help on using the changeset viewer.