mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-08 21:17:47 +03:00
networkd: rename section [BridgePort] → [Bridge]
Let's stick to generic sections that describe the general technology, instead of specific per-object sections, unless we really have a reason to do that otherwise.
This commit is contained in:
parent
96aad8d15a
commit
7303ec8f30
@ -536,8 +536,8 @@
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>[BridgePort] Section Options</title>
|
||||
<para>The <literal>[BridgePort]</literal> section accepts the following keys.</para>
|
||||
<title>[Bridge] Section Options</title>
|
||||
<para>The <literal>[Bridge]</literal> section accepts the following keys.</para>
|
||||
<variablelist class='network-directives'>
|
||||
<varlistentry>
|
||||
<term><varname>Cost=</varname></term>
|
||||
|
@ -61,7 +61,7 @@ DHCP.RequestBroadcast, config_parse_bool, 0,
|
||||
DHCP.CriticalConnection, config_parse_bool, 0, offsetof(Network, dhcp_critical)
|
||||
DHCP.VendorClassIdentifier, config_parse_string, 0, offsetof(Network, dhcp_vendor_class_identifier)
|
||||
DHCP.RouteMetric, config_parse_unsigned, 0, offsetof(Network, dhcp_route_metric)
|
||||
BridgePort.Cost, config_parse_unsigned, 0, offsetof(Network, cost)
|
||||
Bridge.Cost, config_parse_unsigned, 0, offsetof(Network, cost)
|
||||
/* backwards compatibility: do not add new entries to this section */
|
||||
DHCPv4.UseDNS, config_parse_bool, 0, offsetof(Network, dhcp_dns)
|
||||
DHCPv4.UseMTU, config_parse_bool, 0, offsetof(Network, dhcp_mtu)
|
||||
|
@ -97,7 +97,7 @@ static int network_load_one(Manager *manager, const char *filename) {
|
||||
"Route\0"
|
||||
"DHCP\0"
|
||||
"DHCPv4\0"
|
||||
"BridgePort\0",
|
||||
"Bridge\0",
|
||||
config_item_perf_lookup, network_network_gperf_lookup,
|
||||
false, false, true, network);
|
||||
if (r < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user