diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2018-05-14 16:13:22 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-14 18:01:59 +0200 |
commit | b289d122d8fe935de7138f77a8495dca76555b0e (patch) | |
tree | 7bc65a6e03d2834e7dc2794851153ca5b746b6eb /src/tools | |
parent | version: bump snapshot (diff) | |
download | wireguard-monolithic-historical-b289d122d8fe935de7138f77a8495dca76555b0e.tar.xz wireguard-monolithic-historical-b289d122d8fe935de7138f77a8495dca76555b0e.zip |
allowedips: Fix graphviz output after endianness patch
Commit 5e3532e ("allowedips: use native endian on lookup") did two
things: It changed the endianness of (struct allowedips_node).bits to
native endian, and it moved the CIDR masking to the output code path
(walk_by_peer).
Adjust print_node in src/selftest/allowedips.h to deal with these
changes.
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Diffstat (limited to 'src/tools')
0 files changed, 0 insertions, 0 deletions