diff options
author | delphij <delphij@FreeBSD.org> | 2014-08-22 19:08:12 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2014-08-22 19:08:12 +0000 |
commit | 3fc68a2c42af3cd0e47e8a5ac92734980deeb311 (patch) | |
tree | 7ac424b4981a57738b2661f85f8f3a2176fa8bed /cddl/contrib/opensolaris/lib | |
parent | 4e6f2e5a1ec2e6d3de6be514b4a6cddbbc564bd2 (diff) | |
download | FreeBSD-src-3fc68a2c42af3cd0e47e8a5ac92734980deeb311.zip FreeBSD-src-3fc68a2c42af3cd0e47e8a5ac92734980deeb311.tar.gz |
Restore historical behavior of in_control, which, when no matching address
is found, the first usable address is returned for legacy ioctls like
SIOCGIFBRDADDR, SIOCGIFDSTADDR, SIOCGIFNETMASK and SIOCGIFADDR.
While there also fix a subtle issue that a caller from a jail asking for
INADDR_ANY may get the first IP of the host that do not belong to the jail.
Submitted by: glebius
Differential Revision: https://reviews.freebsd.org/D667
Diffstat (limited to 'cddl/contrib/opensolaris/lib')
0 files changed, 0 insertions, 0 deletions