diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2016-10-25 06:26:04 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2016-10-25 06:26:04 +0000 |
commit | 9f52a893878b4ecee5f8b45de43395dccb39a26c (patch) | |
tree | 4ba9350bcb0d526a5522a6c9fc808fe19fe5711e /sys/dev/isa | |
parent | 0711c8b9635c47ced6e3e598c8a4046314e1d681 (diff) |
Fix bind(2)ing link local addresses to raw sockets by calling
in6_pcbaddrisavail() which does all the checking for us instead of
hand rolling half of it.
Input & OK bluhm@
bluhm@ also points out that this relaxes the check for valid addresses
a bit, deprecated addresses become valid for raw sockets. This should
be fine, it brings raw sockets in line with udp/tcp sockets and it
might be particularly interesting for debugging purposes.
Diffstat (limited to 'sys/dev/isa')
0 files changed, 0 insertions, 0 deletions