diff --git a/protocols/bgp/packet/path_attributes.go b/protocols/bgp/packet/path_attributes.go index 000f0d8e95fe82ca67c8d57e9601dc090e58ca6f..56eb039c21907c6d580dadc57459a5a2f03bb505 100644 --- a/protocols/bgp/packet/path_attributes.go +++ b/protocols/bgp/packet/path_attributes.go @@ -71,10 +71,11 @@ func decodePathAttr(buf *bytes.Buffer, opt *types.Options) (pa *PathAttribute, c if err := pa.decodeASPath(buf, asnLength); err != nil { return nil, consumed, fmt.Errorf("Failed to decode AS Path: %v", err) } + /* Don't decodeAS4Paths yet: The rest of the software does not support it right yet! case AS4PathAttr: if err := pa.decodeASPath(buf, 4); err != nil { return nil, consumed, fmt.Errorf("Failed to decode AS4 Path: %v", err) - } + }*/ case NextHopAttr: if err := pa.decodeNextHop(buf); err != nil { return nil, consumed, fmt.Errorf("Failed to decode Next-Hop: %v", err)