Navigation


Changeset 378:41e3c2a3721c in freeDiameter for freeDiameter/p_psm.c


Ignore:
Timestamp:
Jul 5, 2010, 4:21:22 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Replaced old mechanism to discover local addresses by a call to getifaddrs, lot cleaner!
Should close #4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freeDiameter/p_psm.c

    r373 r378  
    571571               
    572572                /* Get the new ones */
    573                 CHECK_FCT_DO( fd_cnx_getendpoints(peer->p_cnxctx, NULL, &peer->p_hdr.info.pi_endpoints), /* ignore the error */);
    574                
    575                 /* We do not support local endpoints change currently, but it could be added here if needed */
     573                CHECK_FCT_DO( fd_cnx_getremoteeps(peer->p_cnxctx, &peer->p_hdr.info.pi_endpoints), /* ignore the error */);
     574               
     575                /* We do not support local endpoints change currently, but it could be added here if needed (refresh fd_g_config->cnf_endpoints)*/
    576576               
    577577                if (TRACE_BOOL(ANNOYING)) {
Note: See TracChangeset for help on using the changeset viewer.