From db039278920e94892b83f265e9cc32f633c3f9c5 Mon Sep 17 00:00:00 2001 From: tgoff0 Date: Mon, 9 Mar 2015 15:20:33 +0000 Subject: [PATCH] daemon: Fix encoding MAC addresses for CORE API messages. --- daemon/core/api/coreapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/core/api/coreapi.py b/daemon/core/api/coreapi.py index ff1ade3c..cfe22923 100644 --- a/daemon/core/api/coreapi.py +++ b/daemon/core/api/coreapi.py @@ -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):