Change-Id: Ifef27540f02f423070e8843951be5cba0acea8cf
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
ip4_address_t *mask;
u8 plen = ip_prefix_len (&a->src);
ip4_address_t *mask;
u8 plen = ip_prefix_len (&a->src);
- ASSERT (plen >= 0 && plen <= 32);
mask = &a->ip4_table->ip4_fib_masks[plen];
u32 src_ip = clib_host_to_net_u32 (ip_prefix_v4 (&a->src).as_u32);
mask = &a->ip4_table->ip4_fib_masks[plen];
u32 src_ip = clib_host_to_net_u32 (ip_prefix_v4 (&a->src).as_u32);
gid_address_sd_dst_type (dst));
break;
}
gid_address_sd_dst_type (dst));
break;
}
default:
clib_warning ("address type %d not supported!", gid_address_type (dst));
break;
default:
clib_warning ("address type %d not supported!", gid_address_type (dst));
break;