diff options
Diffstat (limited to 'table')
-rw-r--r-- | table/path.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/table/path.go b/table/path.go index e10cd44b..08c92089 100644 --- a/table/path.go +++ b/table/path.go @@ -91,7 +91,6 @@ func NewPath(source *PeerInfo, nlri bgp.AddrPrefixInterface, isWithdraw bool, pa log.WithFields(log.Fields{ "Topic": "Table", "Key": nlri.String(), - "Peer": source.Address.String(), }).Error("Need to provide patattrs for the path that is not withdraw.") return nil } @@ -331,7 +330,7 @@ func (path *Path) GetRouteFamily() bgp.RouteFamily { return bgp.AfiSafiToRouteFamily(path.OriginInfo().nlri.AFI(), path.OriginInfo().nlri.SAFI()) } -func (path *Path) setSource(source *PeerInfo) { +func (path *Path) SetSource(source *PeerInfo) { path.OriginInfo().source = source } func (path *Path) GetSource() *PeerInfo { |