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