diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-08-05 04:37:10 -0400 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-08-05 10:37:10 +0200 |
commit | 1ed1f50f8277df07918e13cba3331a114eaa6fe3 (patch) | |
tree | a8b9ca8091b4f5f0472ecbd22e0de61f25d1651c /src/network/networkd-link.c | |
parent | 82b103a7ce299effbb151a2cd7f0b3c7d29aefad (diff) |
networkd: do not set NOARP unconditionally (#3891)
Fixes #3890.
Diffstat (limited to 'src/network/networkd-link.c')
-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 e1d07eb4b0..69ee7424ce 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -1357,7 +1357,7 @@ static int link_set_flags(Link *link) { if (link->network->arp >= 0) { ifi_change |= IFF_NOARP; - ifi_flags |= IFF_NOARP; + ifi_flags |= link->network->arp ? 0 : IFF_NOARP; } r = sd_rtnl_message_link_set_flags(req, ifi_flags, ifi_change); |