Ignore:
Timestamp:
Jul 7, 2008 9:31:02 PM (13 years ago)
Author:
bennylp
Message:

Configuration option to include/exclude loopback interface in enum_ip_interface(), and always include loopback address in the proxy sample (thanks Filippo Zangheri for the suggestion)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/proxy.h

    r2039 r2112  
    272272    } 
    273273 
    274     /* No need to add this, this should have been added above. 
     274    /* Add loopback address. */ 
     275#if PJ_IP_HELPER_IGNORE_LOOPBACK_IF 
    275276    global.name[global.name_cnt].host = pj_str("127.0.0.1"); 
    276277    global.name[global.name_cnt].port = global.port; 
    277278    global.name_cnt++; 
    278     */ 
     279#endif 
    279280 
    280281    global.name[global.name_cnt].host = *pj_gethostname(); 
Note: See TracChangeset for help on using the changeset viewer.