diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-01-24 00:00:13 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-02-10 22:15:04 -0800 |
commit | a207c90fe4544caa95d30ffaec5defee78ef6fd3 (patch) | |
tree | b3fec0bb0f8f395edc5cfce915311e13f9bacda4 /table/destination.go | |
parent | 16b40fd1526ea662bde7e49a0c6c8301bd0b7c82 (diff) |
table: expose (*Destination).getRouteFamily()
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'table/destination.go')
-rw-r--r-- | table/destination.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/table/destination.go b/table/destination.go index afac8e06..87f1f841 100644 --- a/table/destination.go +++ b/table/destination.go @@ -165,7 +165,7 @@ func (dd *Destination) ToApiStruct(id string) *api.Destination { } } -func (dd *Destination) getRouteFamily() bgp.RouteFamily { +func (dd *Destination) Family() bgp.RouteFamily { return dd.routeFamily } |