]> git.meshlink.io Git - meshlink/commit
Clear Ethernet header when reading packets from a tun device.
authorGuus Sliepen <guus@tinc-vpn.org>
Tue, 9 Oct 2012 13:52:58 +0000 (15:52 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 9 Oct 2012 13:52:58 +0000 (15:52 +0200)
commit72642b40b3ad476101622da202b6f977a32b472f
tree151347157eed4d1d42023c503234a5941a96fade
parentb346338f9c2de6f71d87cb4ad8e61b0af0052688
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