summaryrefslogtreecommitdiffhomepage
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-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 b03eec8e..08f9f865 100644
--- a/internal/pkg/config/default.go
+++ b/internal/pkg/config/default.go
@@ -197,7 +197,7 @@ func setDefaultNeighborConfigValuesWithViper(v *viper.Viper, n *Neighbor, g *Glo
}
n.AfiSafis[i].MpGracefulRestart.State.Enabled = n.AfiSafis[i].MpGracefulRestart.Config.Enabled
if !vv.IsSet("afi-safi.add-paths.config.receive") {
- if n.AddPaths.Config.Receive == true {
+ if n.AddPaths.Config.Receive {
n.AfiSafis[i].AddPaths.Config.Receive = n.AddPaths.Config.Receive
}
}