summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--internal/pkg/config/util.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/pkg/config/util.go b/internal/pkg/config/util.go
index 859934d2..cc9ea059 100644
--- a/internal/pkg/config/util.go
+++ b/internal/pkg/config/util.go
@@ -549,6 +549,8 @@ func NewPeerGroupFromConfigStruct(pconf *PeerGroup) *api.PeerGroup {
afiSafis := make([]*api.AfiSafi, 0, len(pconf.AfiSafis))
for _, f := range pconf.AfiSafis {
if afiSafi := newAfiSafiFromConfigStruct(&f); afiSafi != nil {
+ afiSafi.AddPaths.Config.Receive = pconf.AddPaths.Config.Receive
+ afiSafi.AddPaths.Config.SendMax = uint32(pconf.AddPaths.Config.SendMax)
afiSafis = append(afiSafis, afiSafi)
}
}