svn commit: r280998 - head/usr.sbin/arp

Mark Johnston markj at FreeBSD.org
Thu Apr 2 18:18:42 UTC 2015


Author: markj
Date: Thu Apr  2 18:18:40 2015
New Revision: 280998
URL: https://svnweb.freebsd.org/changeset/base/280998

Log:
  arp(8): add support for printing and deleting entries of type
  IFT_INFINIBAND, used in IPoIB.
  
  PR:		151594
  Submitted by:	Anthony Cornehl <accornehl at gmail.com>
  Reviewed by:	hselasky
  MFC after:	1 week
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/usr.sbin/arp/arp.c

Modified: head/usr.sbin/arp/arp.c
==============================================================================
--- head/usr.sbin/arp/arp.c	Thu Apr  2 17:30:19 2015	(r280997)
+++ head/usr.sbin/arp/arp.c	Thu Apr  2 18:18:40 2015	(r280998)
@@ -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;
         }


More information about the svn-src-all mailing list