summaryrefslogtreecommitdiffhomepage
path: root/server/server.go
diff options
context:
space:
mode:
authorPeng Xiao <xiaoquwl@gmail.com>2016-08-18 11:00:21 +0800
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-08-21 08:29:42 +0900
commitb0bead46c891e9dcc3dd7e8d347fc460c8db78b0 (patch)
tree640b91614902905399bcfd6e49ce189ed2fb40e5 /server/server.go
parent430a4f93e8ad9afdcca11aa167ea2f5513009a0d (diff)
fixed some misspell error
Signed-off-by: Peng Xiao <xiaoquwl@gmail.com>
Diffstat (limited to 'server/server.go')
-rw-r--r--server/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/server.go b/server/server.go
index aaae63bc..bc0aa59c 100644
--- a/server/server.go
+++ b/server/server.go
@@ -1674,7 +1674,7 @@ func (server *BgpServer) addNeighbor(c *config.Neighbor) error {
addr := c.Config.NeighborAddress
if _, y := server.neighborMap[addr]; y {
- return fmt.Errorf("Can't overwrite the exising peer: %s", addr)
+ return fmt.Errorf("Can't overwrite the existing peer: %s", addr)
}
if server.bgpConfig.Global.Config.Port > 0 {