daemon: Fix encoding MAC addresses for CORE API messages.
This commit is contained in:
parent
57da74ad25
commit
b024720da2
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ class CoreTlvDataMacAddr(CoreTlvDataObj):
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def getvalue(obj):
|
def getvalue(obj):
|
||||||
return obj.addr
|
return '\0\0' + obj.addr # extend to 64 bits
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def newobj(value):
|
def newobj(value):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue