diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ofed/include/net/ip.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ofed/include/net/ip.h b/sys/ofed/include/net/ip.h index 32cc186..0566ad4 100644 --- a/sys/ofed/include/net/ip.h +++ b/sys/ofed/include/net/ip.h @@ -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; |