Navigation


Changeset 264:a3b2cde34f7b in freeDiameter


Ignore:
Timestamp:
Apr 19, 2010, 11:48:40 AM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Advertize support for translated applications

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/app_radgw/rgwx_auth.c

    r262 r264  
    127127{
    128128        struct rgwp_config * new;
     129        struct dict_object * app;
    129130       
    130131        TRACE_ENTRY("%p %p", conffile, state);
     
    198199        CHECK_FCT( fd_dict_search( fd_g_config->cnf_dict, DICT_AVP, AVP_BY_NAME, "User-Name", &new->dict.User_Name, ENOENT) );
    199200        CHECK_FCT( fd_dict_search( fd_g_config->cnf_dict, DICT_AVP, AVP_BY_NAME, "User-Password", &new->dict.User_Password, ENOENT) );
     201       
     202        /* This plugin provides the following Diameter authentication applications support: */
     203        CHECK_FCT( fd_dict_search( fd_g_config->cnf_dict, DICT_APPLICATION, APPLICATION_BY_NAME, "Diameter Network Access Server Application", &app, ENOENT) );
     204        CHECK_FCT( fd_disp_app_support ( app, NULL, 1, 0 ) );
     205
     206        CHECK_FCT( fd_dict_search( fd_g_config->cnf_dict, DICT_APPLICATION, APPLICATION_BY_NAME, "Diameter Extensible Authentication Protocol (EAP) Application", &app, ENOENT) );
     207        CHECK_FCT( fd_disp_app_support ( app, NULL, 1, 0 ) );
    200208       
    201209        *state = new;
Note: See TracChangeset for help on using the changeset viewer.