summaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorHiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>2015-03-04 16:21:58 +0900
committerHiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>2015-03-04 16:21:58 +0900
commit97e54711515e579b77586ed1aa90e8bf5b5349c0 (patch)
tree46f89e45b18d130f976cb323819a308a2f6391f7 /config
parent77b40df66bc1f285d97dcad9e7971f1ccd669fbf (diff)
config: fix attribute name
Diffstat (limited to 'config')
-rw-r--r--config/default.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/default.go b/config/default.go
index 4c5cc4b0..df57103b 100644
--- a/config/default.go
+++ b/config/default.go
@@ -37,7 +37,7 @@ func SetDefaultConfigValues(md toml.MetaData, bt *Bgp) {
bt.NeighborList[i].Timers.KeepaliveInterval = bt.NeighborList[i].Timers.HoldTime / 3
}
- if _, ok := n.attributes["NeighborList.Timers.IdleHoldTImeAfterReset"]; !ok {
+ if _, ok := n.attributes["NeighborList.Timers.IdleHoldTimeAfterReset"]; !ok {
bt.NeighborList[i].Timers.IdleHoldTimeAfterReset = float64(DEFAULT_IDLE_HOLDTIME_AFTER_RESET)
}
}