Change vpn_packet_t::seqno from uint32_t to uint8_t[4].
authorEtienne Dechamps <etienne@edechamps.fr>
Sat, 27 Sep 2014 12:34:56 +0000 (13:34 +0100)
committerEtienne Dechamps <etienne@edechamps.fr>
Sat, 4 Oct 2014 10:21:38 +0000 (11:21 +0100)
commit092d620dbb3fdc8226ea0a4e1cfd5cd53d608420
tree38beed0265245aeaadb0e0320f91261f04248e55
parent55a78da4e0b496fc599704473f41d5ea52669737
Change vpn_packet_t::seqno from uint32_t to uint8_t[4].

This is to make sure on-wire vpn_packet_t fields are always 1-byte
aligned, otherwise padding could get in the way.
src/net.h
src/net_packet.c