🤞 Sync 2026-09-30 09:28:31

This commit is contained in:
github-actions[bot] committed 2026-09-30 09:28:31 +08:00
1 parent 0108cfa10a
commit 3d9edb1c37
78 files changed
+4594 -1815

No files matched your search

@@ -3200,7 +3200,13 @@ return view.extend({
inetBtn.disabled = true;
var action = inetBtn._action;
var fn = action === 'block' ? callBlock : callUnblock;
fn(ip, '').then(function() {
fn(ip, '').then(function(res) {
// A block without a known MAC covers IPv4 only, and the backend
// says so in msg. Swallowing it here would put the UI back to
// reporting a block that does not block (issue #67).
if (res && res.ipv6 === false) {
setStatus(statusDiv, 'error', (res && res.msg) || '?');
}
runQuery();
}).catch(function(e) {
setStatus(statusDiv, 'error', e.message);