summaryrefslogtreecommitdiffhomepage
path: root/src/socket.c
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2018-05-14 16:13:22 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-14 18:01:59 +0200
commitf432bb00cc1c36ff946021e17551d6ddca88b7b1 (patch)
tree3a6aeffb5305fc643a16b1aee44836e021900bed /src/socket.c
parent761f7a06e204d1fb02598f2b2ece32c27d498355 (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/socket.c')
0 files changed, 0 insertions, 0 deletions