summaryrefslogtreecommitdiffhomepage
path: root/pkg/server
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/server')
-rw-r--r--pkg/server/grpc_server.go4
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),