summaryrefslogtreecommitdiffhomepage
path: root/internal/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'internal/pkg')
-rw-r--r--internal/pkg/config/default.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/pkg/config/default.go b/internal/pkg/config/default.go
index 3ac8db34..c847ba4a 100644
--- a/internal/pkg/config/default.go
+++ b/internal/pkg/config/default.go
@@ -521,7 +521,7 @@ func OverwriteNeighborConfigWithPeerGroup(c *Neighbor, pg *PeerGroup) error {
overwriteConfig(&c.TtlSecurity.Config, &pg.TtlSecurity.Config, "neighbor.ttl-security.config", v)
if !v.IsSet("neighbor.afi-safis") {
- c.AfiSafis = append(c.AfiSafis, pg.AfiSafis...)
+ c.AfiSafis = append([]AfiSafi{}, pg.AfiSafis...)
}
return nil