summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2017-02-19 11:25:16 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2017-02-19 11:25:16 +0100
commit9be12a7d95d668a64922f935057c0b401b58ab75 (patch)
tree97502543f3c519bfc550a33bb90ecf5f8c6c9d0c /doc
parent30c734fc73648e4c43af4f45e68ac2de3d7ddea1 (diff)
Doc: Fix RIP example
Thanks to Steve Leung for the bugreport.
Diffstat (limited to 'doc')
-rw-r--r--doc/bird.sgml21
1 files changed, 11 insertions, 10 deletions
diff --git a/doc/bird.sgml b/doc/bird.sgml
index 6af0e0f6..11fe2190 100644
--- a/doc/bird.sgml
+++ b/doc/bird.sgml
@@ -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>