Message ID | 20210604230534.104899-1-carl@bordum.dk |
---|---|
State | New |
Headers | show |
Series | ip link docs: mention wireguard interface type | expand |
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
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
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(-)