summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uhci.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2014-06-04 13:45:48 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2014-06-04 13:45:48 +0000
commit966d13cda24e384f22b8ea507d778ed2e72d223a (patch)
tree6b7d165378c6a3ec02eab7a26c1e184d1b5aa081 /sys/dev/usb/uhci.c
parent79f7161d6cc45a9120cf7393a2629a0cdb76af46 (diff)
Only use ifa_ifwithaddr() to check if the binding address is on the
system. Yes, this is ugly for the moment because OpenBSD prevents you from binding a tcp socket to broadcast address and checking for a broadcast address is... funny! If you've ever wondered why would lead people to write: ina.s_addr != ia->ia_addr.sin_addr.s_addr instead of: ina.s_addr == ia->ia_broadaddr.sin_addr.s_addr Well this is because all the IPv4 addresses belonging to your lo(4) interfaces match the second idiom. Hopefully we'll get rid of this hack soon. ok jca@, mikeb@
Diffstat (limited to 'sys/dev/usb/uhci.c')
0 files changed, 0 insertions, 0 deletions