iplink: can: fix help text and man page
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>
This commit is contained in:
parent
c897067480
commit
2b70fe156b
|
|
@ -86,8 +86,8 @@ void iplink_usage(void)
|
||||||
if (iplink_have_newlink()) {
|
if (iplink_have_newlink()) {
|
||||||
fprintf(stderr, "\n");
|
fprintf(stderr, "\n");
|
||||||
fprintf(stderr, "TYPE := { vlan | veth | vcan | dummy | ifb | macvlan | macvtap |\n");
|
fprintf(stderr, "TYPE := { vlan | veth | vcan | dummy | ifb | macvlan | macvtap |\n");
|
||||||
fprintf(stderr, " can | bridge | bond | ipoib | ip6tnl | ipip | sit |\n");
|
fprintf(stderr, " bridge | bond | ipoib | ip6tnl | ipip | sit | vxlan |\n");
|
||||||
fprintf(stderr, " vxlan | gre | gretap | ip6gre | ip6gretap | vti }\n");
|
fprintf(stderr, " gre | gretap | ip6gre | ip6gretap | vti }\n");
|
||||||
}
|
}
|
||||||
exit(-1);
|
exit(-1);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -163,9 +163,6 @@ Link types:
|
||||||
.B bond
|
.B bond
|
||||||
- Bonding device
|
- Bonding device
|
||||||
.sp
|
.sp
|
||||||
.B can
|
|
||||||
- Controller Area Network interface
|
|
||||||
.sp
|
|
||||||
.B dummy
|
.B dummy
|
||||||
- Dummy network interface
|
- Dummy network interface
|
||||||
.sp
|
.sp
|
||||||
|
|
@ -179,7 +176,7 @@ Link types:
|
||||||
- Virtual interface base on link layer address (MAC)
|
- Virtual interface base on link layer address (MAC)
|
||||||
.sp
|
.sp
|
||||||
.B vcan
|
.B vcan
|
||||||
- Virtual Local CAN interface
|
- Virtual Controller Area Network interface
|
||||||
.sp
|
.sp
|
||||||
.B veth
|
.B veth
|
||||||
- Virtual ethernet interface
|
- Virtual ethernet interface
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue