Ignore:
Timestamp:
Dec 3, 2007 4:03:17 AM (16 years ago)
Author:
bennylp
Message:

Fixed IP interface enumeration Linux to work with IPv6 (see ticket #415)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/compat/socket.h

    r1611 r1612  
    100100/* For interface enumeration in ip_helper */ 
    101101#   include <net/if.h> 
     102#endif 
     103 
     104#if defined(PJ_HAS_IFADDRS_H) && PJ_HAS_IFADDRS_H != 0 
     105/* Interface enum with getifaddrs() which works with IPv6 */ 
     106#   include <ifaddrs.h> 
    102107#endif 
    103108 
Note: See TracChangeset for help on using the changeset viewer.