From 12ae1b784d400103623aca5554382e84d9843a28 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Fri, 13 Nov 2015 12:42:30 +0900 Subject: mrt: use on-wire original update data for mrt bgpd parse on-wire original update data to construct BGPMessage object and serialize it. Sometimes the both data is not idential. For example, the original data sets the extended length for attribute even if the length is less than 256. This commit fixes the above issue. Signed-off-by: FUJITA Tomonori --- server/server.go | 1 + 1 file changed, 1 insertion(+) (limited to 'server/server.go') diff --git a/server/server.go b/server/server.go index 52d917ac..ecdbc8c2 100644 --- a/server/server.go +++ b/server/server.go @@ -801,6 +801,7 @@ func (server *BgpServer) handleFSMMessage(peer *Peer, e *FsmMsg, incoming chan * localAddress: net.ParseIP(l), fourBytesAs: y, timestamp: e.timestamp, + payload: e.payload, } for _, ch := range listener { bm := &broadcastWatcherMsg{ -- cgit v1.2.3