diff options
Diffstat (limited to 'packet')
-rw-r--r-- | packet/bgp.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/packet/bgp.go b/packet/bgp.go index 9ae1aa32..7779d205 100644 --- a/packet/bgp.go +++ b/packet/bgp.go @@ -1193,11 +1193,9 @@ func (er *EVPNMulticastEthernetTagRoute) Serialize() ([]byte, error) { } else { return nil, fmt.Errorf("Invalid IP address length", er.IPAddressLength) } - if err != nil { return nil, err } - buf = append(buf, tbuf...) return buf, nil } |