mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-08 22:06:10 +02:00
bgp: remove inappropriate assertion assuming only MPBGP (not BGP4)
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
f5543f9e20
commit
f813ec4232
@ -462,9 +462,6 @@ class Update(BgpMessage):
|
||||
idx += plen
|
||||
recv_len += plen
|
||||
|
||||
# Check if length of received bytes is valid.
|
||||
if (recv_len + Update.MIN_LENGTH) < total_msg_len:
|
||||
raise MalformedAttrList()
|
||||
|
||||
if d[Update.WITHDRAW_NLRI]:
|
||||
withdraw_list = nlri.parse(d[Update.WITHDRAW_NLRI])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user