From 595f03fe60bbda71f919e6e8c9f40698f6fb7e67 Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Thu, 2 Apr 2015 18:18:40 +0000 Subject: [PATCH] arp(8): add support for printing and deleting entries of type IFT_INFINIBAND, used in IPoIB. PR: 151594 Submitted by: Anthony Cornehl Reviewed by: hselasky MFC after: 1 week Sponsored by: EMC / Isilon Storage Division --- usr.sbin/arp/arp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/usr.sbin/arp/arp.c b/usr.sbin/arp/arp.c index 932ac9511335..60f776f59fc1 100644 --- a/usr.sbin/arp/arp.c +++ b/usr.sbin/arp/arp.c @@ -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; }