diff options
-rw-r--r-- | config/default.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/default.go b/config/default.go index cbb11167..afe9af42 100644 --- a/config/default.go +++ b/config/default.go @@ -496,7 +496,9 @@ 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 = pg.AfiSafis + for _, afiSafi := range pg.AfiSafis { + c.AfiSafis = append(c.AfiSafis, afiSafi) + } } return nil |