1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

man: fix static bridge example

A NetDev is needed to create the bridge in order to match the example's description "This creates a bridge..."

(cherry picked from commit bc33789a06)
(cherry picked from commit 44660d2e12)
This commit is contained in:
Jade Bilkey 2022-09-03 17:37:45 -04:00 committed by Zbigniew Jędrzejewski-Szmek
parent 40cedddab7
commit 559e851a95

View File

@ -4526,6 +4526,11 @@ DHCPPrefixDelegation=yes</programlisting>
<example> <example>
<title>A bridge with two enslaved links</title> <title>A bridge with two enslaved links</title>
<programlisting># /etc/systemd/network/25-bridge-static.netdev
[NetDev]
Name=bridge0
Kind=bridge</programlisting>
<programlisting># /etc/systemd/network/25-bridge-static.network <programlisting># /etc/systemd/network/25-bridge-static.network
[Match] [Match]
Name=bridge0 Name=bridge0