mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-24 21:34:08 +03:00
networkctl: fix units for bond parameters
Fixes RHBZ#2086166 (https://bugzilla.redhat.com/show_bug.cgi?id=2086166).
This commit is contained in:
parent
1a8922ddec
commit
05e022a913
@ -1814,13 +1814,13 @@ static int link_status_one(
|
||||
TABLE_STRING, bond_mode_to_string(info->mode),
|
||||
TABLE_EMPTY,
|
||||
TABLE_STRING, "Miimon:",
|
||||
TABLE_TIMESPAN_MSEC, jiffies_to_usec(info->miimon),
|
||||
TABLE_TIMESPAN_MSEC, info->miimon * USEC_PER_MSEC,
|
||||
TABLE_EMPTY,
|
||||
TABLE_STRING, "Updelay:",
|
||||
TABLE_TIMESPAN_MSEC, jiffies_to_usec(info->updelay),
|
||||
TABLE_TIMESPAN_MSEC, info->updelay * USEC_PER_MSEC,
|
||||
TABLE_EMPTY,
|
||||
TABLE_STRING, "Downdelay:",
|
||||
TABLE_TIMESPAN_MSEC, jiffies_to_usec(info->downdelay));
|
||||
TABLE_TIMESPAN_MSEC, info->downdelay * USEC_PER_MSEC);
|
||||
if (r < 0)
|
||||
return table_log_add_error(r);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user