]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Doc: Fix RIP example
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Sun, 19 Feb 2017 10:25:16 +0000 (11:25 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Sun, 19 Feb 2017 10:25:16 +0000 (11:25 +0100)
Thanks to Steve Leung for the bugreport.

doc/bird.sgml

index 6af0e0f6791b65712e2cc2960f9f1ea78babfb99..11fe21900cc67113b6a4a91236759c8bf1c4b32b 100644 (file)
@@ -3806,16 +3806,17 @@ protocol rip [&lt;name&gt;] {
 
 <p><code>
 protocol rip {
-        debug all;
-        port 1520;
-        period 12;
-        garbage time 60;
-        interface "eth0" { metric 3; mode multicast; };
-        interface "eth*" { metric 2; mode broadcast; };
-        authentication cryptographic;
-        password "secret-shared-key" { algorithm hmac sha256; };
-        import filter { print "importing"; accept; };
-        export filter { print "exporting"; accept; };
+       import all;
+       export all;
+       interface "eth*" {
+               metric 2;
+               port 1520;
+               mode multicast;
+               update time 12;
+               timeout time 60;
+               authentication cryptographic;
+               password "secret" { algorithm hmac sha256; };
+       };
 }
 </code>