Comment 1 for bug 1201893

The 'ip addr show/ifconfig' method also fails on many non-trivial setups (as seen from previous bugs), getifaddrs (http://man7.org/linux/man-pages/man3/getifaddrs.3.html) is more appropriate.