[systemd-devel] [PATCH] networkd: do not complain about IFF_RUNNING
Umut Tezduyar Lindskog
umut.tezduyar at axis.com
Sun Apr 27 13:33:42 PDT 2014
Otherwise:
eth0: unknown link flags gained: 0x00040 (ignoring)
---
src/network/networkd-link.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index 015a82d..a6ae3c1 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");
--
1.7.10.4
More information about the systemd-devel
mailing list