diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-08 03:36:20 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-08 03:38:12 +0200 |
commit | 06b12364716b4f7b8f561877b90dc43619f30874 (patch) | |
tree | 8f5f5e066d82993134bf47490c6f820a67164410 /src/selftest/allowedips.c | |
parent | netlink: do not stuff index into nla type (diff) | |
download | wireguard-monolithic-historical-06b12364716b4f7b8f561877b90dc43619f30874.tar.xz wireguard-monolithic-historical-06b12364716b4f7b8f561877b90dc43619f30874.zip |
global: rename struct wireguard_ to struct wg_
This required a bit of pruning of our christmas trees.
Suggested-by: Jiri Pirko <jiri@resnulli.us>
Diffstat (limited to 'src/selftest/allowedips.c')
-rw-r--r-- | src/selftest/allowedips.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/selftest/allowedips.c b/src/selftest/allowedips.c index 335a93f..6c98486 100644 --- a/src/selftest/allowedips.c +++ b/src/selftest/allowedips.c @@ -269,7 +269,7 @@ static __init bool randomized_test(void) { unsigned int i, j, k, mutate_amount, cidr; u8 ip[16], mutate_mask[16], mutated[16]; - struct wireguard_peer **peers, *peer; + struct wg_peer **peers, *peer; struct horrible_allowedips h; DEFINE_MUTEX(mutex); struct allowedips t; @@ -518,8 +518,8 @@ static __init int walk_callback(void *ctx, const u8 *ip, u8 cidr, int family) bool __init wg_allowedips_selftest(void) { - struct wireguard_peer *a = NULL, *b = NULL, *c = NULL, *d = NULL, - *e = NULL, *f = NULL, *g = NULL, *h = NULL; + struct wg_peer *a = NULL, *b = NULL, *c = NULL, *d = NULL, *e = NULL, + *f = NULL, *g = NULL, *h = NULL; struct allowedips_cursor *cursor = NULL; struct walk_ctx wctx = { 0 }; bool success = false; |