diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-08-22 13:26:54 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-08-27 15:31:48 +0200 |
commit | 57ad76074670d4859e808a6aabd69fd6e58514c5 (patch) | |
tree | fe92a36f8441e36c3c1a3902a88bad105eea7416 /src/network/networkd-fdb.c | |
parent | 482efedc081b0c4bf2e77a3dee6b979d9c9a5765 (diff) | |
download | systemd-57ad76074670d4859e808a6aabd69fd6e58514c5.tar.gz systemd-57ad76074670d4859e808a6aabd69fd6e58514c5.tar.bz2 systemd-57ad76074670d4859e808a6aabd69fd6e58514c5.zip |
network: drop all checks of ipv6_disabled sysctl
*We* control the sysctl setting. If the user configured IPv6, then we apply the
settings, and just make sure that at some point during the configuration the
sysctl is disabled (i.e. ipv6 enabled) if we have IPv6 configured.
Replaces #13283.
Diffstat (limited to 'src/network/networkd-fdb.c')
-rw-r--r-- | src/network/networkd-fdb.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/network/networkd-fdb.c b/src/network/networkd-fdb.c index 7ffbd0a66e..1f688d6716 100644 --- a/src/network/networkd-fdb.c +++ b/src/network/networkd-fdb.c @@ -123,11 +123,6 @@ int fdb_entry_configure(Link *link, FdbEntry *fdb_entry) { assert(link->manager); assert(fdb_entry); - if (fdb_entry->family == AF_INET6 && link_sysctl_ipv6_enabled(link) == 0) { - log_link_warning(link, "An IPv6 fdb entry is requested, but IPv6 is disabled by sysctl, ignoring."); - return 0; - } - /* create new RTM message */ r = sd_rtnl_message_new_neigh(link->manager->rtnl, &req, RTM_NEWNEIGH, link->ifindex, PF_BRIDGE); if (r < 0) |