summaryrefslogtreecommitdiff
path: root/src/network/networkd.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-07-24 23:12:20 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-07-24 23:44:42 -0400
commit23da66bb402cc6d9bca2eb34e090ccc24dfbf3f5 (patch)
treed819524ea1ee5d6bb92e0156eca418319476e0dd /src/network/networkd.h
parent072f9e4af4cf465aca6e263f4dfd6e07786786d2 (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.h')
-rw-r--r--src/network/networkd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd.h b/src/network/networkd.h
index 7aade401d8..a285a4b08f 100644
--- a/src/network/networkd.h
+++ b/src/network/networkd.h
@@ -153,7 +153,7 @@ struct Network {
bool use_bpdu;
bool hairpin;
bool fast_leave;
- bool root_block;
+ bool allow_port_to_be_root;
bool unicast_flood;
unsigned cost;