Fix: retrieve stats from all network interfaces (#6102)

This commit is contained in:
shamoon
2025-12-15 14:05:00 -08:00
committed by GitHub
parent e66b58dc53
commit 0d99a8766f

View File

@@ -59,7 +59,7 @@ export default async function handler(req, res) {
}
if (type === "network") {
let networkData = await si.networkStats();
let networkData = await si.networkStats("*");
let interfaceDefault;
logger.debug("networkData:", JSON.stringify(networkData));
if (interfaceName && interfaceName !== "default") {