diff options
-rw-r--r-- | ryu/lib/packet/lldp.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ryu/lib/packet/lldp.py b/ryu/lib/packet/lldp.py index d913c305..f343359d 100644 --- a/ryu/lib/packet/lldp.py +++ b/ryu/lib/packet/lldp.py @@ -75,7 +75,8 @@ class LLDPBasicTLV(object): _LEN_MAX = 511 tlv_type = None - def __init__(self, buf=None, *args, **kwargs): + def __init__(self, buf=None, *_args, **_kwargs): + super(LLDPBasicTLV, self).__init__() if buf: (self.typelen, ) = struct.unpack( LLDP_TLV_TYPELEN_STR, buf[:LLDP_TLV_SIZE]) @@ -108,6 +109,7 @@ class lldp(packet_base.PacketBase): tlvs = [] def __init__(self, tlvs): + super(lldp, self).__init__() self.tlvs = tlvs length = 0 for tlv in tlvs: |