diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-08 03:06:47 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-08 03:14:52 +0200 |
commit | 205dd46aae8dd53f2c196d6a5af2fdbafd6b2b19 (patch) | |
tree | f2e36e45a597c47718279de8d78461ef4b5f748f /src/uapi/wireguard.h | |
parent | qemu: kill after 20 minutes (diff) | |
download | wireguard-monolithic-historical-205dd46aae8dd53f2c196d6a5af2fdbafd6b2b19.tar.xz wireguard-monolithic-historical-205dd46aae8dd53f2c196d6a5af2fdbafd6b2b19.zip |
netlink: do not stuff index into nla type
It's not used for anything, and LKML doesn't like the type being used as
an index value.
Suggested-by: Eugene Syromiatnikov <esyr@redhat.com>
Diffstat (limited to 'src/uapi/wireguard.h')
-rw-r--r-- | src/uapi/wireguard.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/uapi/wireguard.h b/src/uapi/wireguard.h index ab72766..0203f2c 100644 --- a/src/uapi/wireguard.h +++ b/src/uapi/wireguard.h @@ -43,13 +43,13 @@ * WGALLOWEDIP_A_FAMILY: NLA_U16 * WGALLOWEDIP_A_IPADDR: struct in_addr or struct in6_addr * WGALLOWEDIP_A_CIDR_MASK: NLA_U8 - * 1: NLA_NESTED + * 0: NLA_NESTED * ... - * 2: NLA_NESTED + * 0: NLA_NESTED * ... * ... * WGPEER_A_PROTOCOL_VERSION: NLA_U32 - * 1: NLA_NESTED + * 0: NLA_NESTED * ... * ... * @@ -99,9 +99,9 @@ * WGALLOWEDIP_A_FAMILY: NLA_U16 * WGALLOWEDIP_A_IPADDR: struct in_addr or struct in6_addr * WGALLOWEDIP_A_CIDR_MASK: NLA_U8 - * 1: NLA_NESTED + * 0: NLA_NESTED * ... - * 2: NLA_NESTED + * 0: NLA_NESTED * ... * ... * WGPEER_A_PROTOCOL_VERSION: NLA_U32, should not be set or used at @@ -109,7 +109,7 @@ * most recent protocol will be used when * this is unset. Otherwise, must be set * to 1. - * 1: NLA_NESTED + * 0: NLA_NESTED * ... * ... * |