Changeset 1622


Ignore:
Timestamp:
Dec 9, 2007 5:30:47 AM (17 years ago)
Author:
bennylp
Message:

IPv6 logging in account keep-alive in pjsua-lib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c

    r1617 r1622  
    660660    pjsip_tpselector tp_sel; 
    661661    pj_time_val delay; 
     662    char addrtxt[PJ_INET6_ADDRSTRLEN]; 
    662663    pj_status_t status; 
    663664 
     
    676677 
    677678    PJ_LOG(5,(THIS_FILE,  
    678               "Sending %d bytes keep-alive packet for acc %d to %s:%d", 
     679              "Sending %d bytes keep-alive packet for acc %d to %s", 
    679680              acc->cfg.ka_data.slen, acc->index, 
    680               pj_inet_ntoa(acc->ka_target.ipv4.sin_addr), 
    681               pj_ntohs(acc->ka_target.ipv4.sin_port))); 
     681              pj_sockaddr_print(&acc->ka_target, addrtxt, sizeof(addrtxt),3))); 
    682682 
    683683    /* Send raw packet */ 
Note: See TracChangeset for help on using the changeset viewer.