Clear Ethernet header when reading packets from a tun device.
authorGuus Sliepen <guus@tinc-vpn.org>
Tue, 9 Oct 2012 19:02:49 +0000 (21:02 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 9 Oct 2012 19:02:49 +0000 (21:02 +0200)
commit8793fb7d43161f4d5358ff73b7a4937ad7e642e2
tree85195ac05547fcee343b3bd486f401d75ad5846f
parenta5527be06c05b1956168019fb5733230134b950b
Clear Ethernet header when reading packets from a tun device.

This fixes a warning from valgrind about uninitialized bytes, which were being
sent to other nodes.
src/bsd/device.c
src/linux/device.c
src/solaris/device.c