summaryrefslogtreecommitdiff
path: root/socket.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-02-16 15:10:05 +0100
committerTobias Klauser <tklauser@distanz.ch>2015-02-16 15:10:05 +0100
commit546fd8a2c668e9817f469d0139f936962492919a (patch)
tree502b89a71cbf2ced7bd4e7b1f73eae6ea1e1c4c3 /socket.c
parent49be96c51e2bff9caef0b453ece74b4fd4692766 (diff)
llmnr: Fix response packet byte order and name size
We need to return type, class, ttl and rdlength in network byte order. Also we need to pkt_put() 2 bytes in addition to the hostname length (length and NULL byte). Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'socket.c')
0 files changed, 0 insertions, 0 deletions