Displaying 1 result from an estimated 1 matches for "mac_tri".
Did you mean:
ac_try
2011 Mar 27
1
[PATCH] MAC Address Ranges
...dress ranges.
--- syslinux-4.03/core/fs/pxe/pxe.c.orig 2011-03-26
22:33:37.067359656 -0400
+++ syslinux-4.03/core/fs/pxe/pxe.c 2011-03-26 22:40:18.470771416 -0400
@@ -1079,6 +1079,8 @@ static int pxe_load_config(void)
char *config_file;
char *last;
int tries = 8;
+ int mac_tries = 16;
+ char *last_mac;
get_prefix();
if (DHCPMagic & 0x02) {
@@ -1101,8 +1103,16 @@ static int pxe_load_config(void)
/* Try loading by MAC address */
strcpy(config_file, MAC_str);
- if (try_load(ConfigName))
- return 0;
+ last_mac = &config_file[20];...