Skip to content
Snippets Groups Projects
Commit 435fbe3b authored by Oliver Herms's avatar Oliver Herms
Browse files

Cleanup

parent b0bc4600
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,6 @@ import ( ...@@ -7,7 +7,6 @@ import (
"github.com/bio-routing/bio-rd/net" "github.com/bio-routing/bio-rd/net"
"github.com/bio-routing/bio-rd/route" "github.com/bio-routing/bio-rd/route"
"github.com/bio-routing/bio-rd/routingtable" "github.com/bio-routing/bio-rd/routingtable"
"github.com/taktv6/tflow2/convert"
) )
// AdjRIBOut represents an Adjacency RIB In as described in RFC4271 // AdjRIBOut represents an Adjacency RIB In as described in RFC4271
...@@ -35,8 +34,6 @@ func (a *AdjRIBOut) UpdateNewClient(client routingtable.RouteTableClient) error ...@@ -35,8 +34,6 @@ func (a *AdjRIBOut) UpdateNewClient(client routingtable.RouteTableClient) error
// AddPath replaces the path for prefix `pfx`. If the prefix doesn't exist it is added. // AddPath replaces the path for prefix `pfx`. If the prefix doesn't exist it is added.
func (a *AdjRIBOut) AddPath(pfx net.Prefix, p *route.Path) error { func (a *AdjRIBOut) AddPath(pfx net.Prefix, p *route.Path) error {
fmt.Printf("THIS IS ADJ RIB OUT NON ADD PATH FOR %v\n", convert.Uint32Byte(a.neighbor.Address))
if a.isOwnPath(p) { if a.isOwnPath(p) {
return nil return nil
} }
......
...@@ -7,7 +7,6 @@ import ( ...@@ -7,7 +7,6 @@ import (
"github.com/bio-routing/bio-rd/net" "github.com/bio-routing/bio-rd/net"
"github.com/bio-routing/bio-rd/route" "github.com/bio-routing/bio-rd/route"
"github.com/bio-routing/bio-rd/routingtable" "github.com/bio-routing/bio-rd/routingtable"
"github.com/taktv6/tflow2/convert"
) )
// AdjRIBOutAddPath represents an Adjacency RIB Out with BGP add path // AdjRIBOutAddPath represents an Adjacency RIB Out with BGP add path
...@@ -35,8 +34,6 @@ func (a *AdjRIBOutAddPath) UpdateNewClient(client routingtable.RouteTableClient) ...@@ -35,8 +34,6 @@ func (a *AdjRIBOutAddPath) UpdateNewClient(client routingtable.RouteTableClient)
// AddPath adds path p to prefix `pfx` // AddPath adds path p to prefix `pfx`
func (a *AdjRIBOutAddPath) AddPath(pfx net.Prefix, p *route.Path) error { func (a *AdjRIBOutAddPath) AddPath(pfx net.Prefix, p *route.Path) error {
fmt.Printf("THIS IS ADD PATH ON ADJ RIB OUT FOR %v", convert.Uint32Byte(a.neighbor.Address))
if a.isOwnPath(p) { if a.isOwnPath(p) {
return nil return nil
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment