Author: markj
Date: Sun Apr 12 21:28:54 2015
New Revision: 281471
URL: https://svnweb.freebsd.org/changeset/base/281471

Log:
  MFC r280998:
  arp(8): add support for printing and deleting entries of type
  IFT_INFINIBAND, used in IPoIB.
  
  PR:   151594

Modified:
  stable/10/usr.sbin/arp/arp.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.sbin/arp/arp.c
==============================================================================
--- stable/10/usr.sbin/arp/arp.c        Sun Apr 12 21:14:58 2015        
(r281470)
+++ stable/10/usr.sbin/arp/arp.c        Sun Apr 12 21:28:54 2015        
(r281471)
@@ -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;
         }
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to