Don't mask the IP-address when doing multicast IP over infiniband.

PR:		196631
MFC after:	3 days
Sponsored by:	Mellanox Technologies
This commit is contained in:
hselasky 2015-01-09 06:39:07 +00:00
parent 4a8a592617
commit ced5b3dac1

View File

@ -74,7 +74,7 @@ ip_ib_mc_map(uint32_t addr, const unsigned char *bcast, char *buf)
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;