]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
iplink: can: fix help text and man page
authorOliver Hartkopp <socketcan@hartkopp.net>
Thu, 15 May 2014 17:52:19 +0000 (19:52 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Wed, 28 May 2014 23:58:13 +0000 (16:58 -0700)
Controller Area Network (CAN) interfaces are physical network interfaces.
They can't be 'created' like software devices by 'ip link add type can'.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
ip/iplink.c
man/man8/ip-link.8.in

index 0134d6edd666d6b97043e25b8d3643c417b5017c..c94261ac5e694d0e8bfc11b15d17f596c6e51317 100644 (file)
@@ -86,8 +86,8 @@ void iplink_usage(void)
        if (iplink_have_newlink()) {
                fprintf(stderr, "\n");
                fprintf(stderr, "TYPE := { vlan | veth | vcan | dummy | ifb | macvlan | macvtap |\n");
-               fprintf(stderr, "          can | bridge | bond | ipoib | ip6tnl | ipip | sit |\n");
-               fprintf(stderr, "          vxlan | gre | gretap | ip6gre | ip6gretap | vti }\n");
+               fprintf(stderr, "          bridge | bond | ipoib | ip6tnl | ipip | sit | vxlan |\n");
+               fprintf(stderr, "          gre | gretap | ip6gre | ip6gretap | vti }\n");
        }
        exit(-1);
 }
index 9b555b01454de0759600ee54191161c33e608ae9..e126046952fe641f322e373b4bde5e6797c37f30 100644 (file)
@@ -163,9 +163,6 @@ Link types:
 .B bond
 - Bonding device
 .sp
-.B can
-- Controller Area Network interface
-.sp
 .B dummy
 - Dummy network interface
 .sp
@@ -179,7 +176,7 @@ Link types:
 - Virtual interface base on link layer address (MAC)
 .sp
 .B vcan
-- Virtual Local CAN interface
+- Virtual Controller Area Network interface
 .sp
 .B veth
 - Virtual ethernet interface