packet/bgp: Fix to serialize BGPNotification on Python3

Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
IWASE Yusuke 2016-08-22 17:21:28 +09:00 committed by FUJITA Tomonori
parent b999b8a14f
commit 55e0097545

View File

@ -3321,7 +3321,7 @@ class BGPNotification(BGPMessage):
def __init__(self,
error_code,
error_subcode,
data='',
data=b'',
type_=BGP_MSG_NOTIFICATION, len_=None, marker=None):
super(BGPNotification, self).__init__(marker=marker, len_=len_,
type_=type_)