vec_add2 (rpaths, rpath, 1);
- rpath->frp_proto = FIB_PROTOCOL_IP4;
+ rpath->frp_proto = DPO_PROTO_IP4;
rpath->frp_addr = next_hops[i];
rpath->frp_sw_if_index = sw_if_index;
rpath->frp_fib_index = ~0;
done:
vec_free (mac_addrs);
vec_free (next_hops);
+ vec_free (rpaths);
unformat_free (line_input);
return error;