diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-11-10 15:21:54 +0900 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-11-10 16:20:09 +0900 |
commit | 74e08c0f671ebddda400ede1a5f00d23d33b6179 (patch) | |
tree | 3be884bf655a0498d81944d2257ac5dc936dd07c /src/device.h | |
parent | netlink: make sure we reserve space for NLMSG_DONE (diff) | |
download | wireguard-linux-compat-74e08c0f671ebddda400ede1a5f00d23d33b6179.tar.xz wireguard-linux-compat-74e08c0f671ebddda400ede1a5f00d23d33b6179.zip |
allowedips: rename from routingtable
Makes it more clear that this _not_ a routing table replacement.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/device.h')
-rw-r--r-- | src/device.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device.h b/src/device.h index 6ec3cb2..7b305a3 100644 --- a/src/device.h +++ b/src/device.h @@ -4,7 +4,7 @@ #define _WG_DEVICE_H #include "noise.h" -#include "routingtable.h" +#include "allowedips.h" #include "hashtables.h" #include "cookie.h" @@ -46,7 +46,7 @@ struct wireguard_device { struct cookie_checker cookie_checker; struct pubkey_hashtable peer_hashtable; struct index_hashtable index_hashtable; - struct routing_table peer_routing_table; + struct allowedips peer_allowedips; struct mutex device_update_lock, socket_update_lock; struct list_head device_list, peer_list; unsigned int num_peers, device_update_gen; |