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 | f432bb00cc1c36ff946021e17551d6ddca88b7b1 (patch) | |
tree | 3a6aeffb5305fc643a16b1aee44836e021900bed /src/netlink.c | |
parent | 761f7a06e204d1fb02598f2b2ece32c27d498355 (diff) |
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>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/netlink.c')
0 files changed, 0 insertions, 0 deletions