Skip to content
Snippets Groups Projects
Commit 22f1f213 authored by Christoph Petrausch's avatar Christoph Petrausch
Browse files

removed duplicated code

parent bd16679d
No related branches found
No related tags found
No related merge requests found
......@@ -140,10 +140,6 @@ func (b *BGPPath) better(c *BGPPath) bool {
return false
}
func (b *BGPPath) ecmp(c *BGPPath) bool {
return b.LocalPref == c.LocalPref && b.ASPathLen == c.ASPathLen && b.Origin == c.Origin && b.MED == c.MED
}
func (b *BGPPath) Print() string {
origin := ""
switch b.Origin {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment