From: Davide Caratti Date: Tue, 26 Jul 2016 09:03:19 +0000 (+0200) Subject: ip {link,address}: add 'macsec' item to TYPE list X-Git-Tag: v4.7.0~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd4df5b21180f9b32259d859e6fcbbb08d0e03c4;p=thirdparty%2Fiproute2.git ip {link,address}: add 'macsec' item to TYPE list fix output of "ip address help" and "ip link help". Update TYPE list in man pages ip-address.8 and ip-link.8 as well. Signed-off-by: Davide Caratti --- diff --git a/ip/ipaddress.c b/ip/ipaddress.c index 60862c570..ab4b1b148 100644 --- a/ip/ipaddress.c +++ b/ip/ipaddress.c @@ -97,7 +97,7 @@ static void usage(void) fprintf(stderr, "TYPE := { vlan | veth | vcan | dummy | ifb | macvlan | macvtap |\n"); fprintf(stderr, " bridge | bond | ipoib | ip6tnl | ipip | sit | vxlan | lowpan |\n"); fprintf(stderr, " gre | gretap | ip6gre | ip6gretap | vti | nlmon | can |\n"); - fprintf(stderr, " bond_slave | ipvlan | geneve | bridge_slave | vrf | hsr}\n"); + fprintf(stderr, " bond_slave | ipvlan | geneve | bridge_slave | vrf | hsr | macsec }\n"); exit(-1); } diff --git a/ip/iplink.c b/ip/iplink.c index ef17fd9d2..f9a7e0909 100644 --- a/ip/iplink.c +++ b/ip/iplink.c @@ -96,7 +96,7 @@ void iplink_usage(void) fprintf(stderr, "TYPE := { vlan | veth | vcan | dummy | ifb | macvlan | macvtap |\n"); fprintf(stderr, " bridge | bond | ipoib | ip6tnl | ipip | sit | vxlan |\n"); fprintf(stderr, " gre | gretap | ip6gre | ip6gretap | vti | nlmon |\n"); - fprintf(stderr, " bond_slave | ipvlan | geneve | bridge_slave | vrf }\n"); + fprintf(stderr, " bond_slave | ipvlan | geneve | bridge_slave | vrf | macsec }\n"); } exit(-1); } diff --git a/man/man8/ip-address.8.in b/man/man8/ip-address.8.in index 7d6eb9b2b..43385813a 100644 --- a/man/man8/ip-address.8.in +++ b/man/man8/ip-address.8.in @@ -127,7 +127,8 @@ ip-address \- protocol address management .BR nlmon " |" .BR ipvlan " |" .BR lowpan " |" -.BR geneve " ]" +.BR geneve " |" +.BR macsec " ]" .SH "DESCRIPTION" The diff --git a/man/man8/ip-link.8.in b/man/man8/ip-link.8.in index c91ef95f9..ad49c9d28 100644 --- a/man/man8/ip-link.8.in +++ b/man/man8/ip-link.8.in @@ -184,7 +184,8 @@ ip-link \- network device configuration .BR ipvlan " |" .BR lowpan " |" .BR geneve " |" -.BR vrf " ]" +.BR vrf " |" +.BR macsec " ]" .ti -8 .IR ETYPE " := [ " TYPE " |"