aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/containers.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-10-09 13:27:00 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-10-09 13:31:18 +0200
commit6051d70ebfd7abedfd09ef9b992528eb2b598546 (patch)
tree42abe1cad3c4afd19a2a6f6f17fab7f2ead5be9b /src/tools/containers.h
parentroutingtable: iterate progressively (diff)
downloadwireguard-monolithic-historical-6051d70ebfd7abedfd09ef9b992528eb2b598546.tar.xz
wireguard-monolithic-historical-6051d70ebfd7abedfd09ef9b992528eb2b598546.zip
tools: warn once on unrecognized items
DaveM suggests we do in fact do this. Others on the same thread weren't happy about the length of the proposed message, so we also give a bit of a less dramatic warning. This reverts commit a2cc976a3b572cf308cc2d97c080eacac60416fe.
Diffstat (limited to 'src/tools/containers.h')
-rw-r--r--src/tools/containers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/containers.h b/src/tools/containers.h
index 2261b07..4c80a77 100644
--- a/src/tools/containers.h
+++ b/src/tools/containers.h
@@ -63,6 +63,7 @@ enum {
struct wgdevice {
char name[IFNAMSIZ];
+ uint32_t ifindex;
uint32_t flags;