Fix reading port of incoming packets
authorRafał Miłecki <rafal@milecki.pl>
Mon, 20 Mar 2017 16:08:11 +0000 (17:08 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Mon, 20 Mar 2017 16:10:11 +0000 (17:10 +0100)
commit943bedb9dae8ff083e18795a7f82c7071988ea03
treeaf23588049bbe23e8990e5406a62a509992d5f80
parentc725494833228cb6e60633ef191e850903158ae1
Fix reading port of incoming packets

We weren't conerting values from network byte order which could result
in rejecting packets in dns_handle_packet.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
interface.c