(el, msg, type)
| 6222 | } |
| 6223 | row('Nameservers', nsHtml); |
| 6224 | |
| 6225 | // Gateway |
| 6226 | let gwHtml = d.interface |
| 6227 | ? '<span class="text-gray-500">none — no route via ' + escapeHtml(d.interface) + ' (segment without a gateway, or DHCP still pending)</span>' |
| 6228 | : '<span class="text-gray-500">—</span>'; |
| 6229 | if (d.gateway && d.gateway.ip) { |
| 6230 | gwHtml = escapeHtml(d.gateway.ip); |
| 6231 | if (d.gateway.ptr) gwHtml += ' <span class="text-gray-500">(' + escapeHtml(d.gateway.ptr) + ')</span>'; |
| 6232 | } |
| 6233 | row(d.interface ? 'Gateway via ' + d.interface : 'Default gateway', gwHtml); |
| 6234 | |
| 6235 | // Traffic via VPN — a local tunnel on the default route is shown |
| 6236 | // instantly; anything else needs the *egress* checked (VPN/Tor on the |
no outgoing calls
no test coverage detected