diff options
author | Benny Prijono <bennylp@teluu.com> | 2009-12-30 08:39:14 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2009-12-30 08:39:14 +0000 |
commit | ce2d9eacaa82339d8d66e95166234f78106f478d (patch) | |
tree | 4497510bc076f287b57b2e6ce175c83f7bb1aad2 /pjsip/src/pjsua-lib | |
parent | eca8d28de93c429f4ed8c39bef710ffa45beaf5b (diff) |
Few fixes and enhancements to Windows IP helper, related to #1000:
- enum_ipv4_ipv6_interface() function:
- bug fix: function should return error if no interface is found
- do not include interfaces that are down, loopback interface, interface with 0.0.0.0/24 address, interface with zero address, etc.
- improve buffer robustness for enum_ipv4_interface() and enum_ipv4_ipv6_interface() functions, by supplying only small buffer, but added fallback to allocating the buffer from heap if the buffer is not large enough to contain the result.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3040 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/pjsua-lib')
0 files changed, 0 insertions, 0 deletions