summaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2017-10-12 15:06:30 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-11-01 21:56:21 +0900
commitfbc493411b3656c97cc979d086e5eecb942859c1 (patch)
tree29c8a123485091d1bb5342da0cb2d0817eb67653 /server
parent3f022e8075153a637e96ba80ee2ca537ebe6004a (diff)
Fix some spelling for spell checker's test
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'server')
-rw-r--r--server/peer.go2
-rw-r--r--server/sockopt_openbsd.go4
2 files changed, 3 insertions, 3 deletions
diff --git a/server/peer.go b/server/peer.go
index 04ca0de6..84b7268f 100644
--- a/server/peer.go
+++ b/server/peer.go
@@ -192,7 +192,7 @@ func (peer *Peer) toGlobalFamilies(families []bgp.RouteFamily) []bgp.RouteFamily
"Key": peer.ID(),
"Family": f,
"VRF": peer.fsm.pConf.Config.Vrf,
- }).Warn("invalid family configured for vrfed neighbor")
+ }).Warn("invalid family configured for neighbor with vrf")
}
}
families = fs
diff --git a/server/sockopt_openbsd.go b/server/sockopt_openbsd.go
index 5ce1b7ef..f52c1447 100644
--- a/server/sockopt_openbsd.go
+++ b/server/sockopt_openbsd.go
@@ -164,7 +164,7 @@ var spiOutMap map[string]uint32 = map[string]uint32{}
func pfkeyReply() (spi uint32, err error) {
buf := make([]byte, SADB_MSG_SIZE)
if count, _, _, _, _ := syscall.Recvmsg(fd, buf, nil, syscall.MSG_PEEK); count != len(buf) {
- return spi, fmt.Errorf("incomplete sadbmsg %d %d", len(buf), count)
+ return spi, fmt.Errorf("incomplete sadb msg %d %d", len(buf), count)
}
h := sadbMsg{}
h.DecodeFromBytes(buf)
@@ -182,7 +182,7 @@ func pfkeyReply() (spi uint32, err error) {
buf = make([]byte, int(8*h.sadbMsgLen))
if count, _, _, _, _ := syscall.Recvmsg(fd, buf, nil, 0); count != len(buf) {
- return spi, fmt.Errorf("incomplete sadbmsg body %d %d", len(buf), count)
+ return spi, fmt.Errorf("incomplete sadb msg body %d %d", len(buf), count)
}
buf = buf[SADB_MSG_SIZE:]