diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-01-07 19:31:10 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-01-07 19:31:10 +0900 |
commit | beb39354e51eb74ab0a13d93dfde9e66e85d5bb6 (patch) | |
tree | 00f01d5bb411f3c5839716b4b2e3c4f8fca7f349 /server/peer.go | |
parent | 564a4a0bd260421443ca2c08ecff26648a4124ea (diff) |
server: dump bgp message with peer addresss
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'server/peer.go')
-rw-r--r-- | server/peer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/peer.go b/server/peer.go index 0bc993e9..08a52530 100644 --- a/server/peer.go +++ b/server/peer.go @@ -97,7 +97,7 @@ func NewPeer(g config.GlobalType, peer config.NeighborType, serverMsgCh chan *se func (peer *Peer) handleBGPmessage(m *bgp.BGPMessage) { j, _ := json.Marshal(m) - log.Debug(string(j)) + log.Debugf("received %v: %s", peer.peerConfig.NeighborAddress, j) switch m.Header.Type { case bgp.BGP_MSG_OPEN: |