summaryrefslogtreecommitdiffstats
path: root/src/plugins/wireguard/wireguard_if.h
diff options
context:
space:
mode:
authorArtem Glazychev <artem.glazychev@xored.com>2021-05-20 12:33:52 +0700
committerEd Warnicke <hagbard@gmail.com>2021-09-30 14:15:58 +0000
commitde3caf37c64431c199fe649256b268010ce6a4f3 (patch)
tree915f8d41835c3709f34f14cc56d4ee9eb45044eb /src/plugins/wireguard/wireguard_if.h
parentda33105973e5f98d9c0daf8e107299d6a278d146 (diff)
wireguard: move adjacency processing from wireguard_peer to wireguard_interface
now we should add routes manually Type: improvement Change-Id: I877511a18854efdfad02939267d38a216b2ccec3 Signed-off-by: Artem Glazychev <artem.glazychev@xored.com>
Diffstat (limited to 'src/plugins/wireguard/wireguard_if.h')
-rw-r--r--src/plugins/wireguard/wireguard_if.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/wireguard/wireguard_if.h b/src/plugins/wireguard/wireguard_if.h
index 7c11ad9b281..e43557b56fe 100644
--- a/src/plugins/wireguard/wireguard_if.h
+++ b/src/plugins/wireguard/wireguard_if.h
@@ -52,8 +52,7 @@ u8 *format_wg_if (u8 * s, va_list * va);
typedef walk_rc_t (*wg_if_walk_cb_t) (index_t wgi, void *data);
void wg_if_walk (wg_if_walk_cb_t fn, void *data);
-typedef walk_rc_t (*wg_if_peer_walk_cb_t) (wg_if_t * wgi, index_t peeri,
- void *data);
+typedef walk_rc_t (*wg_if_peer_walk_cb_t) (index_t peeri, void *data);
index_t wg_if_peer_walk (wg_if_t * wgi, wg_if_peer_walk_cb_t fn, void *data);
void wg_if_peer_add (wg_if_t * wgi, index_t peeri);