GBP: missing L3-out type coversion

Change-Id: Ic6455a930fcb21b055bcf093359bc8328f88140a
Signed-off-by: Neale Ranns <nranns@cisco.com>
This commit is contained in:
Neale Ranns
2019-03-26 08:54:32 -07:00
parent ec6e8d2641
commit 40ddc31998

View File

@ -51,6 +51,8 @@ gbp_subnet_type_to_api(const gbp_subnet::type_t& type)
return (GBP_API_SUBNET_STITCHED_EXTERNAL);
if (gbp_subnet::type_t::TRANSPORT == type)
return (GBP_API_SUBNET_TRANSPORT);
if (gbp_subnet::type_t::L3_OUT == type)
return (GBP_API_SUBNET_L3_OUT);
return (GBP_API_SUBNET_STITCHED_INTERNAL);
}