]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: fix static bridge example
authorJade Bilkey <425547+Fumon@users.noreply.github.com>
Sat, 3 Sep 2022 21:37:45 +0000 (17:37 -0400)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 4 Sep 2022 02:19:14 +0000 (11:19 +0900)
A NetDev is needed to create the bridge in order to match the example's description "This creates a bridge..."

man/systemd.network.xml

index 4f516748edb9175a774e6cc95887686d8b5cdfb3..e35da7bd4ce37c0283878054cdcae7329e9b306f 100644 (file)
@@ -4702,6 +4702,11 @@ Announce=yes</programlisting>
     <example>
       <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
 [Match]
 Name=bridge0