azure: Do not drop last byte of MAC addresses

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2019-06-21 04:54:54 +01:00
parent bc5037150a
commit abccd997c0

View File

@@ -15,7 +15,7 @@ get() {
format_mac() {
local mac="${1,,}"
echo "${mac:0:2}:${mac:2:2}:${mac:4:2}:${mac:6:2}:${mac:8:2}"
echo "${mac:0:2}:${mac:2:2}:${mac:4:2}:${mac:6:2}:${mac:8:2}:${mac:10:2}"
}
to_address() {