From 021084071d57c47c9aabe9c3fcd9be8fd870fa0e Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 8 Oct 2018 03:06:47 +0200 Subject: 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 Signed-off-by: Jason A. Donenfeld --- src/uapi/wireguard.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/uapi/wireguard.h') 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 * ... * ... * -- cgit v1.2.3