All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ip link docs: mention wireguard interface type
@ 2021-06-04 23:05 Carl Bordum Hansen
  2021-06-10  0:22 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: Carl Bordum Hansen @ 2021-06-04 23:05 UTC (permalink / raw)
  To: netdev; +Cc: Carl Bordum Hansen

Signed-off-by: Carl Bordum Hansen <carl@bordum.dk>
---
 ip/iplink.c           | 2 +-
 man/man8/ip-link.8.in | 6 +++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ip/iplink.c b/ip/iplink.c
index 27c9be44..d676a8de 100644
--- a/ip/iplink.c
+++ b/ip/iplink.c
@@ -123,7 +123,7 @@ void iplink_usage(void)
 			"	   gre | gretap | erspan | ip6gre | ip6gretap | ip6erspan |\n"
 			"	   vti | nlmon | team_slave | bond_slave | bridge_slave |\n"
 			"	   ipvlan | ipvtap | geneve | bareudp | vrf | macsec | netdevsim | rmnet |\n"
-			"	   xfrm }\n");
+			"	   xfrm | wireguard }\n");
 	}
 	exit(-1);
 }
diff --git a/man/man8/ip-link.8.in b/man/man8/ip-link.8.in
index fd67e611..6fbd5bf4 100644
--- a/man/man8/ip-link.8.in
+++ b/man/man8/ip-link.8.in
@@ -231,7 +231,8 @@ ip-link \- network device configuration
 .BR macsec " |"
 .BR netdevsim " |"
 .BR rmnet " |"
-.BR xfrm " ]"
+.BR xfrm " |"
+.BR wireguard " ]"
 
 .ti -8
 .IR ETYPE " := [ " TYPE " |"
@@ -377,6 +378,9 @@ Link types:
 .sp
 .BR xfrm
 - Virtual xfrm interface
+.sp
+.BR wireguard
+- Wireguard interface
 .in -8
 
 .TP
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ip link docs: mention wireguard interface type
  2021-06-04 23:05 [PATCH] ip link docs: mention wireguard interface type Carl Bordum Hansen
@ 2021-06-10  0:22 ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2021-06-10  0:22 UTC (permalink / raw)
  To: Carl Bordum Hansen; +Cc: netdev

On Sat,  5 Jun 2021 01:05:34 +0200
Carl Bordum Hansen <carl@bordum.dk> wrote:

> Signed-off-by: Carl Bordum Hansen <carl@bordum.dk>
> ---
>  ip/iplink.c           | 2 +-
>  man/man8/ip-link.8.in | 6 +++++-
>  2 files changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/ip/iplink.c b/ip/iplink.c
> index 27c9be44..d676a8de 100644
> --- a/ip/iplink.c
> +++ b/ip/iplink.c
> @@ -123,7 +123,7 @@ void iplink_usage(void)
>  			"	   gre | gretap | erspan | ip6gre | ip6gretap | ip6erspan |\n"
>  			"	   vti | nlmon | team_slave | bond_slave | bridge_slave |\n"
>  			"	   ipvlan | ipvtap | geneve | bareudp | vrf | macsec | netdevsim | rmnet |\n"
> -			"	   xfrm }\n");
> +			"	   xfrm | wireguard }\n");


That part of the code has changed recently on main branch, your change no longer applies.

>  	}
>  	exit(-1);
>  }
> diff --git a/man/man8/ip-link.8.in b/man/man8/ip-link.8.in
> index fd67e611..6fbd5bf4 100644
> --- a/man/man8/ip-link.8.in
> +++ b/man/man8/ip-link.8.in
> @@ -231,7 +231,8 @@ ip-link \- network device configuration
>  .BR macsec " |"
>  .BR netdevsim " |"
>  .BR rmnet " |"
> -.BR xfrm " ]"
> +.BR xfrm " |"
> +.BR wireguard " ]"

List should be alphabetical

>  
>  .ti -8
>  .IR ETYPE " := [ " TYPE " |"
> @@ -377,6 +378,9 @@ Link types:
>  .sp
>  .BR xfrm
>  - Virtual xfrm interface
> +.sp
> +.BR wireguard
> +- Wireguard interface
>  .in -8
>  
>  .TP


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-10  0:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-04 23:05 [PATCH] ip link docs: mention wireguard interface type Carl Bordum Hansen
2021-06-10  0:22 ` Stephen Hemminger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.