From 01af6903e6d11372ef5d53c0bb1b8923feca976e Mon Sep 17 00:00:00 2001 From: Tobias Hachmer Date: Tue, 3 Oct 2017 15:13:00 +0200 Subject: [PATCH] Role service-fastd-mesh + service-fastd-intragate: fix mac address format --- roles/service-fastd-intragate/templates/fastd-intragate.conf.j2 | 2 +- roles/service-fastd-mesh/templates/fastd-mesh.conf.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/service-fastd-intragate/templates/fastd-intragate.conf.j2 b/roles/service-fastd-intragate/templates/fastd-intragate.conf.j2 index d9e435d..fb46a4c 100644 --- a/roles/service-fastd-intragate/templates/fastd-intragate.conf.j2 +++ b/roles/service-fastd-intragate/templates/fastd-intragate.conf.j2 @@ -24,7 +24,7 @@ peer group "servers" { on up " ip link set $INTERFACE down - ip link set address {{ mac }} dev $INTERFACE + ip link set address {{ mac | hwaddr('linux') }} dev $INTERFACE ip link set $INTERFACE up batctl -m {{ item.key }}BAT if add $INTERFACE diff --git a/roles/service-fastd-mesh/templates/fastd-mesh.conf.j2 b/roles/service-fastd-mesh/templates/fastd-mesh.conf.j2 index 33d919c..9345fad 100644 --- a/roles/service-fastd-mesh/templates/fastd-mesh.conf.j2 +++ b/roles/service-fastd-mesh/templates/fastd-mesh.conf.j2 @@ -31,7 +31,7 @@ peer group "servers" { on up " ip link set $INTERFACE down - ip link set address {{ mac }} dev $INTERFACE + ip link set address {{ mac | hwaddr('linux') }} dev $INTERFACE ip link set $INTERFACE up batctl -m {{ item.key }}BAT if add $INTERFACE