Navigation


Changeset 22:0b3b46da2c12 in freeDiameter for freeDiameter/fdd.y


Ignore:
Timestamp:
Oct 19, 2009, 6:43:09 PM (15 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Progress on server code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freeDiameter/fdd.y

    r20 r22  
    336336                                /* Now destroy any content in the structure */
    337337                                free(fddpi.pi_diamid);
     338                                free(fddpi.pi_sec_data.priority);
    338339                                while (!FD_IS_LIST_EMPTY(&fddpi.pi_endpoints)) {
    339340                                        struct fd_list * li = fddpi.pi_endpoints.next;
     
    415416                                fddpi.pi_port = (uint16_t)$4;
    416417                        }
    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                         }
    423418                        | peerparams TCTIMER '=' INTEGER ';'
    424419                        {
    425420                                fddpi.pi_tctimer = $4;
     421                        }
     422                        | peerparams TLS_PRIO '=' QSTRING ';'
     423                        {
     424                                fddpi.pi_sec_data.priority = $4;
    426425                        }
    427426                        | peerparams TWTIMER '=' INTEGER ';'
Note: See TracChangeset for help on using the changeset viewer.