ip: display netrom link type

For a NETROM "ip link show dev nr0" will show

4: nr0: <NOARP,UP,LOWER_UP> mtu 236 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/generic 88:98:6a:a4:84:40:0a brd 00:00:00:00:00:00:00

But rather link/netrom is expected to be displayed.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
Ralf Baechle 2019-04-04 12:21:54 +02:00 committed by Stephen Hemminger
parent 286446c1e8
commit 8391023680
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ static const struct {
int type;
const char *name;
} arphrd_names[] = {
{ 0, "generic" },
__PF(NETROM,netrom)
__PF(ETHER,ether)
__PF(EETHER,eether)
__PF(AX25,ax25)