Ignore:
Timestamp:
May 20, 2016 4:17:00 AM (8 years ago)
Author:
ming
Message:

Re #1922: Replace IPv4 specific APIs as per Apple's recommendations

https://developer.apple.com/library/ios/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html#//apple_ref/doc/uid/TP40010220-CH213-SW27

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/src/pjlib-util/cli_telnet.c

    r5258 r5311  
    19291929        return status; 
    19301930 
    1931     pj_strcpy2(&info->ip_address, pj_inet_ntoa(hostip.ipv4.sin_addr)); 
     1931    pj_sockaddr_print(&hostip, info->buf_, sizeof(info->buf_), 0); 
     1932    pj_strset2(&info->ip_address, info->buf_); 
    19321933 
    19331934    info->port = tfe->cfg.port; 
Note: See TracChangeset for help on using the changeset viewer.