diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-07-24 23:12:20 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-07-24 23:44:42 -0400 |
commit | 23da66bb402cc6d9bca2eb34e090ccc24dfbf3f5 (patch) | |
tree | d819524ea1ee5d6bb92e0156eca418319476e0dd /src/network/networkd-network.c | |
parent | 072f9e4af4cf465aca6e263f4dfd6e07786786d2 (diff) |
networkd: rename RootBlock to AllowPortToBeRoot
Justification is similar to BPDUGuard rename. "Positive" values
are easier. This is a rather uncommon option, so using a slightly
longer name should not be a problem, and may in fact may make it
easier to guess what the option does without reading the
documentation.
Diffstat (limited to 'src/network/networkd-network.c')
-rw-r--r-- | src/network/networkd-network.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c index e757219ec5..d8f42621af 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->allow_port_to_be_root = true; network->unicast_flood = true; network->llmnr = LLMNR_SUPPORT_YES; |