arp(8): add support for printing and deleting entries of type

IFT_INFINIBAND, used in IPoIB.

PR:		151594
Submitted by:	Anthony Cornehl <accornehl@gmail.com>
Reviewed by:	hselasky
MFC after:	1 week
Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
Mark Johnston 2015-04-02 18:18:40 +00:00
parent cd12a51d8d
commit 595f03fe60

View File

@ -282,6 +282,7 @@ valid_type(int type)
switch (type) { switch (type) {
case IFT_ETHER: case IFT_ETHER:
case IFT_FDDI: case IFT_FDDI:
case IFT_INFINIBAND:
case IFT_ISO88023: case IFT_ISO88023:
case IFT_ISO88024: case IFT_ISO88024:
case IFT_ISO88025: case IFT_ISO88025:
@ -656,6 +657,9 @@ print_entry(struct sockaddr_dl *sdl,
case IFT_BRIDGE: case IFT_BRIDGE:
printf(" [bridge]"); printf(" [bridge]");
break; break;
case IFT_INFINIBAND:
printf(" [infiniband]");
break;
default: default:
break; break;
} }