Update coreapi.py
fixed get_tlv using enumerated type instead of value
This commit is contained in:
parent
b8441bdd2b
commit
37f747c212
1 changed files with 1 additions and 1 deletions
|
@ -843,7 +843,7 @@ class CoreMessage(object):
|
|||
elif self.message_type == MessageTypes.INTERFACE.value:
|
||||
number1 = self.get_tlv(InterfaceTlvs.NODE.value)
|
||||
elif self.message_type == MessageTypes.EVENT.value:
|
||||
number1 = self.get_tlv(EventTlvs.NODE)
|
||||
number1 = self.get_tlv(EventTlvs.NODE.value)
|
||||
|
||||
result = []
|
||||
|
||||
|
|
Loading…
Reference in a new issue