diff --git a/main.c b/main.c index 96c9154..8c61085 100644 --- a/main.c +++ b/main.c @@ -284,10 +284,14 @@ int main(int argc, char **argv) { { int byte = 0; char *tmp; - char *t = strtok(optarg, ":"); - while (t && byte < 6) { - mac[byte++] = (u8_t)strtoul(t, &tmp, 16); - t = strtok(NULL, ":"); + if (!strncmp(optarg, "00:04:20", 8)) { + LOG_ERROR("ignoring mac address from hardware player range 00:04:20:**:**:**"); + } else { + char *t = strtok(optarg, ":"); + while (t && byte < 6) { + mac[byte++] = (u8_t)strtoul(t, &tmp, 16); + t = strtok(NULL, ":"); + } } } break; diff --git a/squeezelite.h b/squeezelite.h index c331415..bdf5e89 100644 --- a/squeezelite.h +++ b/squeezelite.h @@ -20,7 +20,7 @@ // make may define: PORTAUDIO, SELFPIPE, RESAMPLE, RESAMPLE_MP, VISEXPORT, DSD, LINKALL to influence build -#define VERSION "v1.6.4" +#define VERSION "v1.6.5" // build detection #if defined(linux)