mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-30 11:25:13 +08:00
💋 Sync 2026-07-26 20:25:59
This commit is contained in:
1 parent
561519e8f3
commit
922cadb436
19 files changed
+164
-102
No files matched your search
@@ -458,7 +458,7 @@ function buildInterfaceMapping(zones, networks, board) {
|
||||
}
|
||||
|
||||
function formatSpeed(carrier, speed, duplex) {
|
||||
if ((speed > 0) && duplex) {
|
||||
if (carrier && (speed > 0) && duplex) {
|
||||
const d = (duplex == 'half') ? '\u202f(H)' : '';
|
||||
const e = E('span', { 'title': _('Speed: %d Mbit/s, Duplex: %s').format(speed, duplex) });
|
||||
|
||||
|
||||
Reference in new issue
Block a user