diff options
author | tamihiro <dead6oy@gmail.com> | 2018-07-10 21:36:58 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-07-14 14:22:32 +0900 |
commit | dd735314ce065cd5b170052fa0f8341ca5bf123f (patch) | |
tree | eb4181eae3335794f042351da23b6b473f13264c | |
parent | 07f47b7d370e4a2197cf34e3847b2f867b97a40a (diff) |
fix missing EbgpMultihop config
-rw-r--r-- | pkg/server/grpc_server.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/server/grpc_server.go b/pkg/server/grpc_server.go index 2a74e154..79878815 100644 --- a/pkg/server/grpc_server.go +++ b/pkg/server/grpc_server.go @@ -329,6 +329,10 @@ func NewPeerFromConfigStruct(pconf *config.Neighbor) *api.Peer { PeerType: uint32(s.PeerType.ToInt()), NeighborAddress: pconf.State.NeighborAddress, }, + EbgpMultihop: &api.EbgpMultihop{ + Enabled: pconf.EbgpMultihop.Config.Enabled, + MultihopTtl: uint32(pconf.EbgpMultihop.Config.MultihopTtl), + }, Timers: &api.Timers{ Config: &api.TimersConfig{ ConnectRetry: uint64(timer.Config.ConnectRetry), |