Commit 9be12a7d authored by Ondřej Zajíček's avatar Ondřej Zajíček

Doc: Fix RIP example

Thanks to Steve Leung for the bugreport.
parent 30c734fc
...@@ -3806,16 +3806,17 @@ protocol rip [<name>] { ...@@ -3806,16 +3806,17 @@ protocol rip [<name>] {
<p><code> <p><code>
protocol rip { protocol rip {
debug all; import all;
port 1520; export all;
period 12; interface "eth*" {
garbage time 60; metric 2;
interface "eth0" { metric 3; mode multicast; }; port 1520;
interface "eth*" { metric 2; mode broadcast; }; mode multicast;
authentication cryptographic; update time 12;
password "secret-shared-key" { algorithm hmac sha256; }; timeout time 60;
import filter { print "importing"; accept; }; authentication cryptographic;
export filter { print "exporting"; accept; }; password "secret" { algorithm hmac sha256; };
};
} }
</code> </code>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment