mirror of
https://github.com/AuxXxilium/redpill-lkm5.git
synced 2024-11-23 15:01:01 +07:00
change mac amount 4 > 8
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
135e44b4d4
commit
165a08beed
@ -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
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user