summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vom/gbp_subnet.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp-api/vom/gbp_subnet.hpp')
-rw-r--r--src/vpp-api/vom/gbp_subnet.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vpp-api/vom/gbp_subnet.hpp b/src/vpp-api/vom/gbp_subnet.hpp
index 9c9166ec018..b4adb40ae45 100644
--- a/src/vpp-api/vom/gbp_subnet.hpp
+++ b/src/vpp-api/vom/gbp_subnet.hpp
@@ -177,7 +177,7 @@ private:
/**
* the route domain the prefix is in
*/
- std::shared_ptr<route_domain> m_rd;
+ const std::shared_ptr<route_domain> m_rd;
/**
* prefix to match
@@ -187,7 +187,7 @@ private:
/*
* Subnet type
*/
- const type_t m_type;
+ type_t m_type;
/**
* The interface the prefix is reachable through