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
1818 * one but not both of:
1919 *
2020 * WGDEVICE_A_IFINDEX: NLA_U32
21− * WGDEVICE_A_IFNAME: NLA_NUL_STRING, maxlen IFNAMESIZ - 1
21+ * WGDEVICE_A_IFNAME: NLA_NUL_STRING, maxlen IFNAMSIZ - 1
2222 *
2323 * The kernel will then return several messages (NLM_F_MULTI) containing the
2424 * following tree of nested items:
2525 *
2626 * WGDEVICE_A_IFINDEX: NLA_U32
27− * WGDEVICE_A_IFNAME: NLA_NUL_STRING, maxlen IFNAMESIZ - 1
27+ * WGDEVICE_A_IFNAME: NLA_NUL_STRING, maxlen IFNAMSIZ - 1
2828 * WGDEVICE_A_PRIVATE_KEY: NLA_EXACT_LEN, len WG_KEY_LEN
2929 * WGDEVICE_A_PUBLIC_KEY: NLA_EXACT_LEN, len WG_KEY_LEN
3030 * WGDEVICE_A_LISTEN_PORT: NLA_U16
@@ -77,7 +77,7 @@ · 46 unmodified lines
7777 * WGDEVICE_A_IFINDEX and WGDEVICE_A_IFNAME:
7878 *
7979 * WGDEVICE_A_IFINDEX: NLA_U32
80− * WGDEVICE_A_IFNAME: NLA_NUL_STRING, maxlen IFNAMESIZ - 1
80+ * WGDEVICE_A_IFNAME: NLA_NUL_STRING, maxlen IFNAMSIZ - 1
8181 * WGDEVICE_A_FLAGS: NLA_U32, 0 or WGDEVICE_F_REPLACE_PEERS if all current
8282 * peers should be removed prior to adding the list below.
8383 * WGDEVICE_A_PRIVATE_KEY: len WG_KEY_LEN, all zeros to remove
@@ -121,7 +121,7 @@ · 37 unmodified lines
121121 * filling in information not contained in the prior. Note that if
122122 * WGDEVICE_F_REPLACE_PEERS is specified in the first message, it probably
123123 * 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 for
124+ * of peers is only cleared the first time but appended after. Likewise for
125125 * peers, if WGPEER_F_REPLACE_ALLOWEDIPS is specified in the first message
126126 * of a peer, it likely should not be specified in subsequent fragments.
127127 *