change mac amount 4 > 8

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2023-12-27 18:11:45 +01:00
parent 135e44b4d4
commit 165a08beed
2 changed files with 5 additions and 1 deletions

View File

@ -40,5 +40,9 @@
#define CMDLINE_KT_MAC2 "mac2=" #define CMDLINE_KT_MAC2 "mac2="
#define CMDLINE_KT_MAC3 "mac3=" #define CMDLINE_KT_MAC3 "mac3="
#define CMDLINE_KT_MAC4 "mac4=" #define CMDLINE_KT_MAC4 "mac4="
#define CMDLINE_KT_MAC5 "mac5="
#define CMDLINE_KT_MAC6 "mac6="
#define CMDLINE_KT_MAC7 "mac7="
#define CMDLINE_KT_MAC8 "mac8="
#endif //REDPILL_CMDLINE_OPTS_H #endif //REDPILL_CMDLINE_OPTS_H

View File

@ -135,7 +135,7 @@ static inline bool validate_nets(const unsigned short if_num, mac_address * cons
if (macs_num == 0) { if (macs_num == 0) {
pr_loc_wrn("No MAC addressed are specified - use \"%s\" or \"%s\"...\"%s\" to set them", CMDLINE_KT_MACS, pr_loc_wrn("No MAC addressed are specified - use \"%s\" or \"%s\"...\"%s\" to set them", CMDLINE_KT_MACS,
CMDLINE_KT_MAC1, CMDLINE_KT_MAC4); CMDLINE_KT_MAC1, CMDLINE_KT_MAC8);
} }
if (if_num != macs_num) { if (if_num != macs_num) {