diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-04-09 21:34:29 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-04-09 21:34:29 +0900 |
commit | a1c1142ee400e8c90613fe27f3f6499b4678eabf (patch) | |
tree | 7a097adda0a53b264254585668988c75db66626a /packet/bgp.go | |
parent | 658e2afce4480065423180c132172e3633c5ac2d (diff) |
packet: fix EVPNMulticastEthernetTagRoute Serialize()
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'packet/bgp.go')
-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 } |