mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-15 13:32:59 +02:00
azure: Do not drop last byte of MAC addresses
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user