Fix network table in/out to be from node perspective

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Ian Gulliver
2026-01-29 11:02:15 -08:00
parent 8ea593625a
commit b5e8bda1c4

View File

@@ -2522,10 +2522,10 @@
upstream, upstream,
speed, speed,
speedStr, speedStr,
inErrors: errors.in, inErrors: errors.out,
outErrors: errors.out, outErrors: errors.in,
inRate: rates.inBytes, inRate: rates.outBytes,
outRate: rates.outBytes, outRate: rates.inBytes,
status: isUnreachable ? 'unreachable' : (errors.in + errors.out > 0 ? 'errors' : 'ok') status: isUnreachable ? 'unreachable' : (errors.in + errors.out > 0 ? 'errors' : 'ok')
}; };
}); });