summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-02-19 19:59:32 +0100
committerLennart Poettering <lennart@poettering.net>2016-02-21 20:40:57 +0100
commit7cececb2ea707a6d9b063538cf986fd27edd8cd3 (patch)
treee270e43c9203e5b4c1559ce90ce1dd8852aa6e42 /src
parent837f57da416be279ef5793e43b34e41247aa90a2 (diff)
networkd: turn on LLDP reception by default, in "routers-only" mode
This way "networkctl status" becomes a bit more useful by default, as router information is just visible, without any further configuration. LLDP reception is fully passive and relatively low simple and low traffic, hence this should be safe to enable by default.
Diffstat (limited to 'src')
-rw-r--r--src/network/networkd-network.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c
index a6512d26e5..935042260b 100644
--- a/src/network/networkd-network.c
+++ b/src/network/networkd-network.c
@@ -119,6 +119,8 @@ static int network_load_one(Manager *manager, const char *filename) {
network->allow_port_to_be_root = true;
network->unicast_flood = true;
+ network->lldp_mode = LLDP_MODE_ROUTERS_ONLY;
+
network->llmnr = RESOLVE_SUPPORT_YES;
network->mdns = RESOLVE_SUPPORT_NO;
network->dnssec_mode = _DNSSEC_MODE_INVALID;