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:
parent
cd12a51d8d
commit
595f03fe60
@ -282,6 +282,7 @@ valid_type(int type)
|
||||
switch (type) {
|
||||
case IFT_ETHER:
|
||||
case IFT_FDDI:
|
||||
case IFT_INFINIBAND:
|
||||
case IFT_ISO88023:
|
||||
case IFT_ISO88024:
|
||||
case IFT_ISO88025:
|
||||
@ -656,6 +657,9 @@ print_entry(struct sockaddr_dl *sdl,
|
||||
case IFT_BRIDGE:
|
||||
printf(" [bridge]");
|
||||
break;
|
||||
case IFT_INFINIBAND:
|
||||
printf(" [infiniband]");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user