(id, val)
| 6212 | try { |
| 6213 | const d = await fetchAPI('/api/net/identity' + (scoped ? '?interface=' + encodeURIComponent(scoped) : '')); |
| 6214 | if (!d.success) { |
| 6215 | out.innerHTML = '<p class="text-red-400">' + escapeHtml(d.error || 'failed') + '</p>'; |
| 6216 | return; |
| 6217 | } |
| 6218 | _ndLastIdentity = d; |
| 6219 | const rows = []; |
| 6220 | const row = (label, value) => rows.push( |