summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-01-06 12:02:30 +0100
committerTobias Klauser <tklauser@distanz.ch>2017-01-06 12:02:30 +0100
commit1073ece433c9922fab10edebae7b6f9d0115da8f (patch)
tree2f7248436d346ae1bf3aed6139b3eb5c78ef544a /util.h
parent95c6c530a3094f520faaea685b51f23e7257b633 (diff)
llmnr-query: Add support for FreeBSD and Darwin
Make llmnr-query work on FreeBSD and Darwin by using sendmsg() to send UDP packets. Using sendto() doesn't seem to work for IPv6 sockets. Also specify the size of the corresponding sockaddr type, not of sockaddr_storage. Tested on FreeBSD 11.0, Mac OS X 10.11. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'util.h')
0 files changed, 0 insertions, 0 deletions