MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / handleWifiInterfaceChange

Function handleWifiInterfaceChange

web/scripts/ragnar_modern.js:8798–8801  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

8796 _ndBusy(btn, true, 'Listening…');
8797 out.classList.remove('hidden');
8798 out.innerHTML = '<p class="text-sm text-gray-400">Passively capturing SMB + LLMNR/NBT-NS/mDNS…</p>';
8799 try {
8800 _smbFillIfaces();
8801 const qs = '?seconds=' + encodeURIComponent(secs) + (iface ? '&interface=' + encodeURIComponent(iface) : '');
8802 const d = await fetchAPI('/api/net/smb-watch' + qs);
8803 if (!d || d.success === false) {
8804 const msg = (d && d.error) || 'failed';

Callers

nothing calls this directly

Calls 1

setSelectedWifiInterfaceFunction · 0.70

Tested by

no test coverage detected