summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
de5b08f)
Change-Id: I8c127d472e0010036061a8a076599d1ff85abab5
Signed-off-by: Neale Ranns <nranns@cisco.com>
{
rpath->frp_proto = DPO_PROTO_IP4;
*payload_proto = DPO_PROTO_IP4;
{
rpath->frp_proto = DPO_PROTO_IP4;
*payload_proto = DPO_PROTO_IP4;
+ fi = fib_table_find (FIB_PROTOCOL_IP4, rpath->frp_fib_index);
+ if (~0 == fi)
+ return 0;
+ rpath->frp_fib_index = fi;
}
else if (unformat (input,
"ip6-lookup-in-table %d",
}
else if (unformat (input,
"ip6-lookup-in-table %d",
{
rpath->frp_proto = DPO_PROTO_IP6;
*payload_proto = DPO_PROTO_IP6;
{
rpath->frp_proto = DPO_PROTO_IP6;
*payload_proto = DPO_PROTO_IP6;
+ fi = fib_table_find (FIB_PROTOCOL_IP6, rpath->frp_fib_index);
+ if (~0 == fi)
+ return 0;
+ rpath->frp_fib_index = fi;
}
else if (unformat (input,
"mpls-lookup-in-table %d",
}
else if (unformat (input,
"mpls-lookup-in-table %d",
{
rpath->frp_proto = DPO_PROTO_MPLS;
*payload_proto = DPO_PROTO_MPLS;
{
rpath->frp_proto = DPO_PROTO_MPLS;
*payload_proto = DPO_PROTO_MPLS;
+ fi = fib_table_find (FIB_PROTOCOL_MPLS, rpath->frp_fib_index);
+ if (~0 == fi)
+ return 0;
+ rpath->frp_fib_index = fi;
}
else if (unformat (input, "src-lookup"))
{
}
else if (unformat (input, "src-lookup"))
{