summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--internal/pkg/config/util.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/pkg/config/util.go b/internal/pkg/config/util.go
index 522129a3..859934d2 100644
--- a/internal/pkg/config/util.go
+++ b/internal/pkg/config/util.go
@@ -572,6 +572,10 @@ func NewPeerGroupFromConfigStruct(pconf *PeerGroup) *api.PeerGroup {
TotalPaths: s.TotalPaths,
TotalPrefixes: s.TotalPrefixes,
},
+ 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),