History

wireguard: global: fix spelling mistakes in comments

This fixes two spelling errors in source code comments.

Josh Soref committed 6 years ago

Commit a2ec8b51 parent d7c68a32 files · +5 −5Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/wireguard.h+4−4
@@ -18,13 +18,13 @@ · 17 unmodified lines
18 * one but not both of:18 * one but not both of:
19 *19 *
20 * WGDEVICE_A_IFINDEX: NLA_U3220 * WGDEVICE_A_IFINDEX: NLA_U32
21 * WGDEVICE_A_IFNAME: NLA_NUL_STRING, maxlen IFNAMESIZ - 121 * WGDEVICE_A_IFNAME: NLA_NUL_STRING, maxlen IFNAMSIZ - 1
22 *22 *
23 * The kernel will then return several messages (NLM_F_MULTI) containing the23 * The kernel will then return several messages (NLM_F_MULTI) containing the
24 * following tree of nested items:24 * following tree of nested items:
25 *25 *
26 * WGDEVICE_A_IFINDEX: NLA_U3226 * WGDEVICE_A_IFINDEX: NLA_U32
27 * WGDEVICE_A_IFNAME: NLA_NUL_STRING, maxlen IFNAMESIZ - 127 * WGDEVICE_A_IFNAME: NLA_NUL_STRING, maxlen IFNAMSIZ - 1
28 * WGDEVICE_A_PRIVATE_KEY: NLA_EXACT_LEN, len WG_KEY_LEN28 * WGDEVICE_A_PRIVATE_KEY: NLA_EXACT_LEN, len WG_KEY_LEN
29 * WGDEVICE_A_PUBLIC_KEY: NLA_EXACT_LEN, len WG_KEY_LEN29 * WGDEVICE_A_PUBLIC_KEY: NLA_EXACT_LEN, len WG_KEY_LEN
30 * WGDEVICE_A_LISTEN_PORT: NLA_U1630 * WGDEVICE_A_LISTEN_PORT: NLA_U16
@@ -77,7 +77,7 @@ · 46 unmodified lines
77 * WGDEVICE_A_IFINDEX and WGDEVICE_A_IFNAME:77 * WGDEVICE_A_IFINDEX and WGDEVICE_A_IFNAME:
78 *78 *
79 * WGDEVICE_A_IFINDEX: NLA_U3279 * WGDEVICE_A_IFINDEX: NLA_U32
80 * WGDEVICE_A_IFNAME: NLA_NUL_STRING, maxlen IFNAMESIZ - 180 * WGDEVICE_A_IFNAME: NLA_NUL_STRING, maxlen IFNAMSIZ - 1
81 * WGDEVICE_A_FLAGS: NLA_U32, 0 or WGDEVICE_F_REPLACE_PEERS if all current81 * WGDEVICE_A_FLAGS: NLA_U32, 0 or WGDEVICE_F_REPLACE_PEERS if all current
82 * peers should be removed prior to adding the list below.82 * peers should be removed prior to adding the list below.
83 * WGDEVICE_A_PRIVATE_KEY: len WG_KEY_LEN, all zeros to remove83 * WGDEVICE_A_PRIVATE_KEY: len WG_KEY_LEN, all zeros to remove
@@ -121,7 +121,7 @@ · 37 unmodified lines
121 * filling in information not contained in the prior. Note that if121 * filling in information not contained in the prior. Note that if
122 * WGDEVICE_F_REPLACE_PEERS is specified in the first message, it probably122 * WGDEVICE_F_REPLACE_PEERS is specified in the first message, it probably
123 * should not be specified in fragments that come after, so that the list123 * should not be specified in fragments that come after, so that the list
124 * of peers is only cleared the first time but appened after. Likewise for124 * of peers is only cleared the first time but appended after. Likewise for
125 * peers, if WGPEER_F_REPLACE_ALLOWEDIPS is specified in the first message125 * peers, if WGPEER_F_REPLACE_ALLOWEDIPS is specified in the first message
126 * of a peer, it likely should not be specified in subsequent fragments.126 * of a peer, it likely should not be specified in subsequent fragments.
127 *127 *