summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-03-26 08:54:32 -0700
committerNeale Ranns <nranns@cisco.com>2019-03-26 17:05:47 +0000
commit40ddc319984e8d6bfb5a10141b369a9f957c19c3 (patch)
tree05abd22a08253ee4bc7dbed3fa9d1feddcb15222
parentec6e8d2641fee618ea2fb2476d0b444d35deb0b1 (diff)
GBP: missing L3-out type coversion
Change-Id: Ic6455a930fcb21b055bcf093359bc8328f88140a Signed-off-by: Neale Ranns <nranns@cisco.com>
-rw-r--r--extras/vom/vom/gbp_subnet_cmds.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/extras/vom/vom/gbp_subnet_cmds.cpp b/extras/vom/vom/gbp_subnet_cmds.cpp
index cf2801c8d63..94152ffe369 100644
--- a/extras/vom/vom/gbp_subnet_cmds.cpp
+++ b/extras/vom/vom/gbp_subnet_cmds.cpp
@@ -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);
}