commit | ff90b1aa7ea193379355791ce90bc21c7de17125 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Nov 23 10:46:02 2009 -0800 |
committer | Elliott Hughes <enh@google.com> | Mon Nov 23 10:46:02 2009 -0800 |
tree | 9628eb9d71d9ca875e7c7ba266c5810c5a48fdd1 | |
parent | f9f33287693f9f9aa44318036b8aab627bd21a32 [diff] |
Explicitly ignore non-IPv4/IPv6 addresses from IFA_ADDRESS. I don't think this can happen (some other calls return hardware addresses too, but I've never seen a hardware address in an IFA_ADDRESS message), but netlink is badly documented, and it's better to be safe than sorry.