summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-07-24 23:04:57 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-07-24 23:44:42 -0400
commit072f9e4af4cf465aca6e263f4dfd6e07786786d2 (patch)
treedcab1e8e730988af460f6ff3d3b73805d3feb0f5 /src
parent84c3409631f48869dcb59c0a74eba6d4ac40ad93 (diff)
networkd: turn UnicastFlood on by default
Looking at the kernel commit, "on" seems to be the default value: commit 867a59436fc35593ae0e0efcd56cc6d2f8506586 Author: Vlad Yasevich <vyasevic@redhat.com> Date: Wed Jun 5 10:08:01 2013 -0400 bridge: Add a flag to control unicast packet flood. Add a flag to control flood of unicast traffic. By default, flood is on and the bridge will flood unicast traffic if it doesn't know the destination. When the flag is turned off, unicast traffic without an FDB will not be forwarded to the specified port. ... and it seems to be the reasonable thing to do by default.
Diffstat (limited to 'src')
-rw-r--r--src/network/networkd-network.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c
index ff0f72cfe5..e757219ec5 100644
--- a/src/network/networkd-network.c
+++ b/src/network/networkd-network.c
@@ -108,6 +108,7 @@ static int network_load_one(Manager *manager, const char *filename) {
network->dhcp_client_identifier = DHCP_CLIENT_ID_DUID;
network->use_bpdu = true;
+ network->unicast_flood = true;
network->llmnr = LLMNR_SUPPORT_YES;