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 | 1027c1fb4493130ed9df96fd4092c4bf9c599b82 (patch) | |
tree | 9cc86eb2c6c003f220c9d66171a2d5d0f59745b6 /src/compat/compat.h | |
parent | 021084071d57c47c9aabe9c3fcd9be8fd870fa0e (diff) |
global: rename struct wireguard_ to struct wg_
This required a bit of pruning of our christmas trees.
Suggested-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/compat/compat.h')
-rw-r--r-- | src/compat/compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat/compat.h b/src/compat/compat.h index 3ef8620..6223f9d 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -561,7 +561,7 @@ static inline struct nlattr **genl_family_attrbuf(const struct genl_family *fami #if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 15, 8) && LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0)) || (LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 25) && LINUX_VERSION_CODE >= KERNEL_VERSION(4, 10, 0)) || LINUX_VERSION_CODE < KERNEL_VERSION(4, 9, 87) #define wg_get_device_dump(a, b) wg_get_device_dump_real(a, b); \ static int wg_get_device_dump(a, b) { \ - struct wireguard_device *wg = (struct wireguard_device *)cb->args[0]; \ + struct wg_device *wg = (struct wg_device *)cb->args[0]; \ if (!wg) { \ int ret = wg_get_device_start(cb); \ if (ret) \ |