mirror of
https://github.com/armbian/build.git
synced 2025-09-20 05:01:25 +02:00
33 lines
933 B
Diff
33 lines
933 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Igor <igor@armbian.com>
|
|
Date: Sat, 24 Feb 2024 21:50:04 +0000
|
|
Subject: Do not change MAC address randomly
|
|
|
|
Signed-off-by: Igor <igor@armbian.com>
|
|
---
|
|
common/fdt_support.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/common/fdt_support.c b/common/fdt_support.c
|
|
index e72aaf04e0..fa3d3e7af2 100644
|
|
--- a/common/fdt_support.c
|
|
+++ b/common/fdt_support.c
|
|
@@ -703,12 +703,12 @@ void fdt_fixup_ethernet(void *fdt)
|
|
tmp = (*end) ? end + 1 : end;
|
|
}
|
|
|
|
do_fixup_by_path(fdt, path, "mac-address",
|
|
&mac_addr, 6, 0);
|
|
- //do_fixup_by_path(fdt, path, "local-mac-address",
|
|
- // &mac_addr, 6, 1);
|
|
+ do_fixup_by_path(fdt, path, "local-mac-address",
|
|
+ &mac_addr, 6, 1);
|
|
}
|
|
}
|
|
}
|
|
|
|
/* Resize the fdt to its actual size + a bit of padding */
|
|
--
|
|
Created with Armbian build tools https://github.com/armbian/build
|
|
|