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
|
@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…
Reference in a new issue