Ignore:
Timestamp:
Jul 23, 2018 7:15:08 AM (2 years ago)
Author:
riza
Message:

Close #2070: Print IPv6 addresses with brackets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath/nat_detect.c

    r5636 r5833  
    303303 
    304304    PJ_LOG(5,(sess->pool->obj_name, "Local address is %s:%d", 
    305               pj_sockaddr_print(&sess->local_addr, addr, sizeof(addr), 0), 
     305              pj_sockaddr_print(&sess->local_addr, addr, sizeof(addr), 2), 
    306306              pj_sockaddr_get_port(&sess->local_addr))); 
    307307 
    308308    PJ_LOG(5,(sess->pool->obj_name, "Server set to %s:%d", 
    309               pj_sockaddr_print(server, addr, sizeof(addr), 0), 
     309              pj_sockaddr_print(server, addr, sizeof(addr), 2), 
    310310              pj_sockaddr_get_port(server))); 
    311311 
     
    871871              "Performing %s to %s:%d",  
    872872              test_names[test_id], 
    873               pj_sockaddr_print(sess->cur_server, addr, sizeof(addr), 0), 
     873              pj_sockaddr_print(sess->cur_server, addr, sizeof(addr), 2), 
    874874              pj_sockaddr_get_port(sess->cur_server))); 
    875875 
Note: See TracChangeset for help on using the changeset viewer.