diff options
author | markj <markj@FreeBSD.org> | 2015-04-02 18:18:40 +0000 |
---|---|---|
committer | markj <markj@FreeBSD.org> | 2015-04-02 18:18:40 +0000 |
commit | 97599fcfd9bf65862279665f41dfac0cd5e4aadf (patch) | |
tree | 09ef92202da4ca726ede37b52fa2802dc0aadb8c /usr.sbin/arp/arp.c | |
parent | 80e2370786196b3da7a498675cab79581b1e6e40 (diff) | |
download | FreeBSD-src-97599fcfd9bf65862279665f41dfac0cd5e4aadf.zip FreeBSD-src-97599fcfd9bf65862279665f41dfac0cd5e4aadf.tar.gz |
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
Diffstat (limited to 'usr.sbin/arp/arp.c')
-rw-r--r-- | usr.sbin/arp/arp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/arp/arp.c b/usr.sbin/arp/arp.c index 932ac95..60f776f 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; } |