version 1.1.1.1, 2012/02/21 17:26:12
|
version 1.1.1.2, 2012/10/09 09:22:28
|
Line 42 ospf6_prefix_apply_mask (struct ospf6_prefix *op)
|
Line 42 ospf6_prefix_apply_mask (struct ospf6_prefix *op)
|
return; |
return; |
} |
} |
|
|
if (index == 16) | /* nonzero mask means no check for this byte because if it contains |
return; | * prefix bits it must be there for us to write */ |
| if (mask) |
pnt[index] &= mask; | pnt[index++] &= mask; |
index ++; | |
|
|
while (index < OSPF6_PREFIX_SPACE (op->prefix_length)) |
while (index < OSPF6_PREFIX_SPACE (op->prefix_length)) |
pnt[index++] = 0; |
pnt[index++] = 0; |