diff options
-rw-r--r-- | pkg/packet/bgp/bgp.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/packet/bgp/bgp.go b/pkg/packet/bgp/bgp.go index c66d4a70..9a1af06b 100644 --- a/pkg/packet/bgp/bgp.go +++ b/pkg/packet/bgp/bgp.go @@ -12318,6 +12318,7 @@ func (msg *BGPUpdate) DecodeFromBytes(data []byte, options ...*MarshallingOption if e.(*MessageError).Stronger(strongestError) { strongestError = e } + return strongestError } data = data[p.Len(options...):] if e == nil || e.(*MessageError).ErrorHandling != ERROR_HANDLING_ATTRIBUTE_DISCARD { |