]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
ip {link,address}: add 'macsec' item to TYPE list
authorDavide Caratti <dcaratti@redhat.com>
Tue, 26 Jul 2016 09:03:19 +0000 (11:03 +0200)
committerStephen Hemminger <shemming@brocade.com>
Thu, 28 Jul 2016 18:12:39 +0000 (11:12 -0700)
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 <dcaratti@redhat.com>
ip/ipaddress.c
ip/iplink.c
man/man8/ip-address.8.in
man/man8/ip-link.8.in

index 60862c57003303350c9d56b3191c551cafa5c70a..ab4b1b1484c0835ebe8893b475cd2907fe17c807 100644 (file)
@@ -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);
 }
index ef17fd9d2ef8b0c67cabe5bdf28d3d1159db2402..f9a7e0909747cb8cd9f8080f3aa6a0a72139c61b 100644 (file)
@@ -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);
 }
index 7d6eb9b2b1915903f6eb5350e44d4d799435295f..43385813a1340eacd73bba5e38cdb3db03354078 100644 (file)
@@ -127,7 +127,8 @@ ip-address \- protocol address management
 .BR nlmon " |"
 .BR ipvlan " |"
 .BR lowpan " |"
-.BR geneve " ]"
+.BR geneve " |"
+.BR macsec " ]"
 
 .SH "DESCRIPTION"
 The
index c91ef95f9d688a60160dc209d0fb4d8766f1bdc5..ad49c9d28ee0d7be5280ab72ee082269b4e493ec 100644 (file)
@@ -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 " |"