GBP: missing L3-out type coversion 36/18536/2
authorNeale Ranns <nranns@cisco.com>
Tue, 26 Mar 2019 15:54:32 +0000 (08:54 -0700)
committerNeale Ranns <nranns@cisco.com>
Tue, 26 Mar 2019 17:05:47 +0000 (17:05 +0000)
Change-Id: Ic6455a930fcb21b055bcf093359bc8328f88140a
Signed-off-by: Neale Ranns <nranns@cisco.com>
extras/vom/vom/gbp_subnet_cmds.cpp

index cf2801c..94152ff 100644 (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);
 }