Navigation


Changeset 516:1c2f5ee38039 in freeDiameter for extensions/app_radgw/rgw_conf.y


Ignore:
Timestamp:
Aug 27, 2010, 10:59:51 AM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Allow RADIUS Proxies with the app_radgw extension

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/app_radgw/rgw_conf.y

    r304 r516  
    146146%type <string>  FINDFILEEXT
    147147
     148%token <integer> NAS_OR_PXY
     149
    148150/* simple tokens */
    149151%token          DISABLED
     
    152154
    153155%token          PLG_PREFIX
    154 %token          CLI_PREFIX
    155156
    156157%token          AUTH_ENABLE
     
    264265                                buf_reinit();
    265266                        }
    266                         CLI_PREFIX '=' IP '/' clisecret_key ';'
     267                        NAS_OR_PXY '=' IP '/' clisecret_key ';'
    267268                        {
    268269                                /* Add this client */
    269                                 if ( rgw_clients_add( $4, &buf, buf_sz ) ) {
     270                                if ( rgw_clients_add( $4, &buf, buf_sz, $2 ) ) {
    270271                                        yyerror (&yylloc, conffile, "Error parsing / adding client !");
    271272                                        YYERROR;
Note: See TracChangeset for help on using the changeset viewer.