diff options
author | Umut Tezduyar Lindskog <umut.tezduyar@axis.com> | 2014-04-27 22:33:42 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-04-27 23:36:30 +0200 |
commit | d96e629fd7a29323ab19917d5afeb05adc62b373 (patch) | |
tree | 6874eafa350f7b66bf02569bead0ca956ef31f69 /src/network | |
parent | 20a83d7bf4542875f8033b68682a4da4993010e8 (diff) |
networkd: do not complain about IFF_RUNNING
Otherwise:
eth0: unknown link flags gained: 0x00040 (ignoring)
[tomegun: hiding these messages is ok, as IFF_RUNNING is redundant
and can be deduced from operstate and IFF_LOWER_UP]
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/networkd-link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index 015a82d0d6..a6ae3c1b93 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -1129,7 +1129,7 @@ static int link_update_flags(Link *link, sd_rtnl_message *m) { flags_removed = (link->flags ^ flags) & link->flags; generic_flags = ~(IFF_UP | IFF_LOWER_UP | IFF_DORMANT | IFF_DEBUG | IFF_MULTICAST | IFF_BROADCAST | IFF_PROMISC | - IFF_NOARP | IFF_MASTER | IFF_SLAVE); + IFF_NOARP | IFF_MASTER | IFF_SLAVE | IFF_RUNNING); if (flags_added & IFF_UP) log_debug_link(link, "link is up"); |