diff options
author | Eiichiro Watanabe <a16tochjp@gmail.com> | 2016-03-31 12:16:16 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-03-31 11:27:43 +0900 |
commit | 63788325a04d2c1956f79713fabcb00d68782f37 (patch) | |
tree | 1a7a63c6d819c0f4ac71586234c67af844ae8758 /server | |
parent | f4e834672ffacfd8ed02c0a5d3bc18314fe7e8a6 (diff) |
server: fix typo
Diffstat (limited to 'server')
-rw-r--r-- | server/rpki.go | 2 | ||||
-rw-r--r-- | server/server.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/rpki.go b/server/rpki.go index fe89b136..d019b0e8 100644 --- a/server/rpki.go +++ b/server/rpki.go @@ -208,7 +208,7 @@ func (m *roaManager) operate(op api.Operation, address string) error { return fmt.Errorf("roa server not found %s", address) } -func (c *roaManager) RecieveROA() chan *roaClientEvent { +func (c *roaManager) ReceiveROA() chan *roaClientEvent { return c.eventCh } diff --git a/server/server.go b/server/server.go index d7b83869..d510ca7f 100644 --- a/server/server.go +++ b/server/server.go @@ -338,7 +338,7 @@ func (server *BgpServer) Serve() { select { case c := <-server.rpkiConfigCh: server.roaManager, _ = NewROAManager(server.bgpConfig.Global.Config.As, c) - case rmsg := <-server.roaManager.RecieveROA(): + case rmsg := <-server.roaManager.ReceiveROA(): server.roaManager.HandleROAEvent(rmsg) case zmsg := <-server.zapiMsgCh: m := handleZapiMsg(zmsg, server) |