Skip to content
Snippets Groups Projects
Unverified Commit e85e935a authored by Daniel Czerwonk's avatar Daniel Czerwonk Committed by GitHub
Browse files

Update path_attributes.go

parent 4a8fd3ef
No related branches found
No related tags found
No related merge requests found
...@@ -171,7 +171,7 @@ func (pa *PathAttribute) decodeNextHop(buf *bytes.Buffer) error { ...@@ -171,7 +171,7 @@ func (pa *PathAttribute) decodeNextHop(buf *bytes.Buffer) error {
func (pa *PathAttribute) decodeMED(buf *bytes.Buffer) error { func (pa *PathAttribute) decodeMED(buf *bytes.Buffer) error {
med, err := pa.decodeUint32(buf) med, err := pa.decodeUint32(buf)
if err != nil { if err != nil {
return fmt.Errorf("Unable to decode local pref: %v", err) return fmt.Errorf("Unable to decode MED: %v", err)
} }
pa.Value = uint32(med) pa.Value = uint32(med)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment