diff --git a/protocols/bgp/packet/path_attributes.go b/protocols/bgp/packet/path_attributes.go index 32569f4202901bae70847a99e4da1d39e6b46fc0..3b3f23d7fa9f19f0ef838143c4da7d5125bde76f 100644 --- a/protocols/bgp/packet/path_attributes.go +++ b/protocols/bgp/packet/path_attributes.go @@ -72,10 +72,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)