Navigation



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

Added two plugins for RADIUS/Diameter gateway debug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/app_radgw/rgw_plugins.c

    r254 r255  
    220220                        goto error;
    221221                }
     222                TRACE_DEBUG(INFO, "RADIUS/Diameter gateway plugin '%s%s%s%s' initialized.", new->plgname, conffile ? " (" : "",  conffile ? new->conffile : "", conffile ? ")" : "");
    222223        }
    223224       
     
    493494                fd_list_unlink(&plg->chain);
    494495                free(plg->conffile);
     496                free(plg->cc);
     497                if (plg->cs && plg->descriptor && plg->descriptor->rgwp_conf_free ) {
     498                        TRACE_DEBUG(INFO, "RADIUS/Diameter gateway plugin '%s' cleaning up...", plg->plgname);
     499                        (*plg->descriptor->rgwp_conf_free)(plg->cs);
     500                }
    495501                free(plg->plgname);
    496                 free(plg->cc);
    497                 if (plg->cs && plg->descriptor && plg->descriptor->rgwp_conf_free )
    498                         (*plg->descriptor->rgwp_conf_free)(plg->cs);
    499502                dlclose(plg->dlo);
    500503                free(plg);
Note: See TracChangeset for help on using the changeset viewer.