diff options
author | Hiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp> | 2015-03-04 16:21:58 +0900 |
---|---|---|
committer | Hiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp> | 2015-03-04 16:21:58 +0900 |
commit | 97e54711515e579b77586ed1aa90e8bf5b5349c0 (patch) | |
tree | 46f89e45b18d130f976cb323819a308a2f6391f7 | |
parent | 77b40df66bc1f285d97dcad9e7971f1ccd669fbf (diff) |
config: fix attribute name
-rw-r--r-- | config/default.go | 2 |
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) } } |