Change-Id: I1b327309586c9234a22cda011953a1940d31e1ba
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
to_next += 1;
n_left_from -= 1;
n_left_to_next -= 1;
to_next += 1;
n_left_from -= 1;
n_left_to_next -= 1;
+ ip4_0 = NULL;
+ ip6_0 = NULL;
next0 = GPB_LPM_CLASSIFY_DROP;
b0 = vlib_get_buffer (vm, bi0);
next0 = GPB_LPM_CLASSIFY_DROP;
b0 = vlib_get_buffer (vm, bi0);
lbi0 = ip4_fib_forwarding_lookup (fib_index0,
&ip4_0->src_address);
}
lbi0 = ip4_fib_forwarding_lookup (fib_index0,
&ip4_0->src_address);
}
- else if (DPO_PROTO_IP4 == dproto)
+ else if (DPO_PROTO_IP6 == dproto)
{
lbi0 = ip6_fib_table_fwding_lookup (&ip6_main, fib_index0,
&ip6_0->src_address);
{
lbi0 = ip6_fib_table_fwding_lookup (&ip6_main, fib_index0,
&ip6_0->src_address);