aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/device.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-11-10 15:21:54 +0900
committerJason A. Donenfeld <Jason@zx2c4.com>2017-11-10 16:20:09 +0900
commitf6cea8e4ef520b13b9329f6690b574d6264e41e6 (patch)
treec930597ee53fd8d38820e9560692b4cd09e438fd /src/device.h
parentwg-quick: allow for tabs in keys (diff)
downloadwireguard-monolithic-historical-f6cea8e4ef520b13b9329f6690b574d6264e41e6.tar.xz
wireguard-monolithic-historical-f6cea8e4ef520b13b9329f6690b574d6264e41e6.zip
allowedips: rename from routingtable
Makes it more clear that this _not_ a routing table replacement.
Diffstat (limited to 'src/device.h')
-rw-r--r--src/device.h4
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;