summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--config/default.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/default.go b/config/default.go
index e6402ff7..102621eb 100644
--- a/config/default.go
+++ b/config/default.go
@@ -139,6 +139,9 @@ func SetDefaultConfigValues(v *viper.Viper, b *BgpConfigSet) error {
}
}
+ n.State.Description = n.Config.Description
+ n.Config.Description = ""
+
if !vv.IsSet("neighbor.config.local-as") {
n.Config.LocalAs = b.Global.Config.As
}