X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=blobdiff_plain;f=src%2Fvnet%2Fip%2Fip_api.c;h=d59aa23d7e546af2f9023538c18ae79ae58c8d6d;hp=5a2aa60b057c88b576821ad56b9e42215f7463c6;hb=775f73c;hpb=a3aaa61e2f2fd81f9653cb678b38519e96e6c6cd diff --git a/src/vnet/ip/ip_api.c b/src/vnet/ip/ip_api.c index 5a2aa60b057..d59aa23d7e5 100644 --- a/src/vnet/ip/ip_api.c +++ b/src/vnet/ip/ip_api.c @@ -810,6 +810,8 @@ add_del_route_t_handler (u8 is_multipath, path.frp_local_label = next_hop_via_label; path.frp_eos = MPLS_NON_EOS; } + if (is_local) + path_flags |= FIB_ROUTE_PATH_LOCAL; if (is_dvr) path_flags |= FIB_ROUTE_PATH_DVR; if (is_resolve_host)