Displaying 1 result from an estimated 1 matches for "uchexbyt".
Did you mean:
uchexbytes
2011 Mar 27
1
[PATCH] MAC Address Ranges
...)
- return 0;
+ last_mac = &config_file[20];
+
+ while (mac_tries) {
+ *last_mac = '\0';
+ if (try_load(ConfigName)) {
+ return 0;
+ }
+ last_mac--;
+ mac_tries--;
+ }
/* Nope, try hexadecimal IP prefixes... */
uchexbytes(config_file, (uint8_t *)&IPInfo.myip, 4);
Thanks,
Hiatt