summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/rpki.go2
-rw-r--r--server/server.go2
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)