diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-05-17 22:20:32 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-05-17 22:35:18 +0900 |
commit | 05e022a913533560a86a9b6a3ffda252df0cad1f (patch) | |
tree | ce742b071020ea050ad86b7f08a1797294dff732 /src/network | |
parent | 1a8922ddec4ec47ede11671e786ef1f29977ce8d (diff) | |
download | systemd-05e022a913533560a86a9b6a3ffda252df0cad1f.tar.gz |
networkctl: fix units for bond parameters
Fixes RHBZ#2086166 (https://bugzilla.redhat.com/show_bug.cgi?id=2086166).
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/networkctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/network/networkctl.c b/src/network/networkctl.c index 56baf125bd..8830f79eb7 100644 --- a/src/network/networkctl.c +++ b/src/network/networkctl.c @@ -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); |