diff --git a/src/minisatip.c b/src/minisatip.c index f30e1b3b1f..9635fe0771 100644 --- a/src/minisatip.c +++ b/src/minisatip.c @@ -2031,7 +2031,7 @@ int readBootID() { uuid4_generate(opts.uuid); } - if (opts.device_id < 1) { + if (opts.device_id < local_device_id) { opts.device_id = local_device_id; }