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 <dcaratti@redhat.com>
This commit is contained in:
Davide Caratti 2016-07-26 11:03:19 +02:00 committed by Stephen Hemminger
parent c0ab80a490
commit fd4df5b211
4 changed files with 6 additions and 4 deletions

View 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);
}

View 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);
}

View 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

View 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 " |"