Author: hselasky Date: Fri Jan 9 06:39:07 2015 New Revision: 276879 URL: https://svnweb.freebsd.org/changeset/base/276879
Log: Don't mask the IP-address when doing multicast IP over infiniband. PR: 196631 MFC after: 3 days Sponsored by: Mellanox Technologies Modified: head/sys/ofed/include/net/ip.h Modified: head/sys/ofed/include/net/ip.h ============================================================================== --- head/sys/ofed/include/net/ip.h Fri Jan 9 03:35:19 2015 (r276878) +++ head/sys/ofed/include/net/ip.h Fri Jan 9 06:39:07 2015 (r276879) @@ -74,7 +74,7 @@ ip_ib_mc_map(uint32_t addr, const unsign buf[13] = 0; buf[14] = 0; buf[15] = 0; - buf[16] = (addr >> 24) & 0x0f; + buf[16] = (addr >> 24) & 0xff; buf[17] = (addr >> 16) & 0xff; buf[18] = (addr >> 8) & 0xff; buf[19] = addr & 0xff; _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"