[systemd-devel] [systemd-commits] 4 commits - man/systemd.netdev.xml src/libsystemd src/network

Tom Gundersen teg at jklm.no
Mon Jul 21 11:55:55 PDT 2014


On Mon, Jul 21, 2014 at 8:44 PM, Lennart Poettering
<lennart at poettering.net> wrote:
> On Mon, 21.07.14 11:36, Tom Gundersen (tomegun at kemper.freedesktop.org) wrote:
>
>> +        if (b->miimon != 0) {
>> +                r = sd_rtnl_message_append_u32(m, IFLA_BOND_MIIMON,
>> b->miimon / 1000);
>
> We have these nice USEC_PER_MSEC-style macro definitions which make it a
> little bit clearer what we are converting here from what into
> what... please use that instead of writing "1000"...


Indeed. Fixed.

Thanks!

To


More information about the systemd-devel mailing list