diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/peer.go | 2 | ||||
-rw-r--r-- | server/sockopt_openbsd.go | 4 |
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:] |