face+table: move EndpointId typedef out of Transport and use it in table
refs: #4843
Change-Id: I2b200518a57b21d66eae4360166afda31c3bf11b
diff --git a/daemon/table/fib-nexthop.hpp b/daemon/table/fib-nexthop.hpp
index 313508d..e0cf599 100644
--- a/daemon/table/fib-nexthop.hpp
+++ b/daemon/table/fib-nexthop.hpp
@@ -39,7 +39,7 @@
{
public:
explicit
- NextHop(Face& face, uint64_t endpointId);
+ NextHop(Face& face, EndpointId endpointId);
Face&
getFace() const
@@ -47,7 +47,7 @@
return *m_face;
}
- uint64_t
+ EndpointId
getEndpointId() const
{
return m_endpointId;
@@ -67,7 +67,7 @@
private:
Face* m_face;
- uint64_t m_endpointId;
+ EndpointId m_endpointId;
uint64_t m_cost;
};