Changeset 2441


Ignore:
Timestamp:
Feb 6, 2009 8:13:43 AM (16 years ago)
Author:
bennylp
Message:

Ticket #716 (miscellaneous): write nameserver settings in dump config in pjsua_app.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c

    r2408 r2441  
    14891489    pj_strcat2(&cfg, "\n#\n# Network settings:\n#\n"); 
    14901490 
     1491    /* Nameservers */ 
     1492    for (i=0; i<config->cfg.nameserver_count; ++i) { 
     1493        pj_ansi_sprintf(line, "--nameserver %.*s\n", 
     1494                              (int)config->cfg.nameserver[i].slen, 
     1495                              config->cfg.nameserver[i].ptr); 
     1496        pj_strcat2(&cfg, line); 
     1497    } 
     1498 
    14911499    /* Outbound proxy */ 
    14921500    for (i=0; i<config->cfg.outbound_proxy_cnt; ++i) { 
Note: See TracChangeset for help on using the changeset viewer.