diff options
author | Wataru Ishida <ishida.wataru@lab.ntt.co.jp> | 2016-11-28 01:35:23 -0500 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-11-29 15:45:19 -0800 |
commit | 33ff2fff1f1e4aa693c2ce010d516934d189e538 (patch) | |
tree | 3df7fb9f9ed478ba847c08ef0620563da4d0d47c /table | |
parent | 0f5f9078ea27de52756c63fbf87f9eb286f829d8 (diff) |
zebra: add flags for recursive nexthop lookup if necessary
Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'table')
-rw-r--r-- | table/destination.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/table/destination.go b/table/destination.go index f9ed0e2f..ac3ef0c8 100644 --- a/table/destination.go +++ b/table/destination.go @@ -73,6 +73,7 @@ type PeerInfo struct { LocalAddress net.IP RouteReflectorClient bool RouteReflectorClusterID net.IP + MultihopTtl uint8 } func (lhs *PeerInfo) Equal(rhs *PeerInfo) bool { @@ -114,6 +115,7 @@ func NewPeerInfo(g *config.Global, p *config.Neighbor) *PeerInfo { Address: net.ParseIP(p.Config.NeighborAddress), RouteReflectorClient: p.RouteReflector.Config.RouteReflectorClient, RouteReflectorClusterID: id, + MultihopTtl: p.EbgpMultihop.Config.MultihopTtl, } } |