mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 21:06:08 +01:00
last small fixes before release
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -462,7 +462,7 @@ void processDataReq(struct espAvailDataReq* eadr, bool local, IPAddress remoteIP
|
||||
|
||||
tagRecord* taginfo = tagRecord::findByMAC(eadr->src);
|
||||
if (taginfo == nullptr) {
|
||||
if (config.lock) return;
|
||||
if (config.lock == 1 || (config.lock == 2 && eadr->adr.wakeupReason != WAKEUP_REASON_FIRSTBOOT)) return;
|
||||
taginfo = new tagRecord;
|
||||
memcpy(taginfo->mac, eadr->src, sizeof(taginfo->mac));
|
||||
taginfo->pending = false;
|
||||
|
||||
@@ -323,8 +323,8 @@
|
||||
<label for="apclock">Lock tag inventory</label>
|
||||
<select id="apclock">
|
||||
<option value="0" selected>no</option>
|
||||
<option value="1">locked: only allows known tags</option>
|
||||
<option value="2">learning: only add unknown tags that are booting</option>
|
||||
<option value="1">locked: don't add new tags</option>
|
||||
<option value="2">learning: only add new tags that are booting</option>
|
||||
</select>
|
||||
</p>
|
||||
<p title="Wifi transmit power">
|
||||
|
||||
Reference in New Issue
Block a user