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

removed duplicated code

parent bd16679d
Branches
Tags
No related merge requests found
...@@ -140,10 +140,6 @@ func (b *BGPPath) better(c *BGPPath) bool { ...@@ -140,10 +140,6 @@ func (b *BGPPath) better(c *BGPPath) bool {
return false 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 { func (b *BGPPath) Print() string {
origin := "" origin := ""
switch b.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