Codebase list squeezelite / 9094ec5
trap use of hardware mac address, bump version Adrian Smith 9 years ago
2 changed file(s) with 9 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
283283 {
284284 int byte = 0;
285285 char *tmp;
286 char *t = strtok(optarg, ":");
287 while (t && byte < 6) {
288 mac[byte++] = (u8_t)strtoul(t, &tmp, 16);
289 t = strtok(NULL, ":");
286 if (!strncmp(optarg, "00:04:20", 8)) {
287 LOG_ERROR("ignoring mac address from hardware player range 00:04:20:**:**:**");
288 } else {
289 char *t = strtok(optarg, ":");
290 while (t && byte < 6) {
291 mac[byte++] = (u8_t)strtoul(t, &tmp, 16);
292 t = strtok(NULL, ":");
293 }
290294 }
291295 }
292296 break;
1919
2020 // make may define: PORTAUDIO, SELFPIPE, RESAMPLE, RESAMPLE_MP, VISEXPORT, DSD, LINKALL to influence build
2121
22 #define VERSION "v1.6.4"
22 #define VERSION "v1.6.5"
2323
2424 // build detection
2525 #if defined(linux)