summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-08-29 14:27:42 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-08-29 14:27:42 +0900
commit199e0b0ae2351209642a3748502c8621d5cd88fd (patch)
tree102b1a13ed7c8595888f95e48d9d8b2f64f03b8b
parenteef1fc0a7529a2ee12c822af1b393906cd114ef9 (diff)
config: stop resetting Neighbor.Config.Description
Due to this bug, the description isn't set. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--config/default.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/config/default.go b/config/default.go
index 12870642..e9b972cf 100644
--- a/config/default.go
+++ b/config/default.go
@@ -176,7 +176,6 @@ func setDefaultNeighborConfigValuesWithViper(v *viper.Viper, n *Neighbor, asn ui
}
n.State.Description = n.Config.Description
- n.Config.Description = ""
n.State.AdminDown = n.Config.AdminDown
if n.GracefulRestart.Config.Enabled {