diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-09 13:27:00 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-09 13:31:18 +0200 |
commit | e13b1e719b741d62380bc9f26d46ae0d7c43c6ef (patch) | |
tree | 84cb3f9cde1ea4fd8c943934bc63f6eb7af2fc5c /src/containers.h | |
parent | wg: try again if dump is interrupted (diff) | |
download | wireguard-tools-e13b1e719b741d62380bc9f26d46ae0d7c43c6ef.tar.xz wireguard-tools-e13b1e719b741d62380bc9f26d46ae0d7c43c6ef.zip |
wg: 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.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/containers.h')
-rw-r--r-- | src/containers.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/containers.h b/src/containers.h index 2261b07..4c80a77 100644 --- a/src/containers.h +++ b/src/containers.h @@ -63,6 +63,7 @@ enum { struct wgdevice { char name[IFNAMSIZ]; + uint32_t ifindex; uint32_t flags; |