Doc: Fix RIP example

Thanks to Steve Leung for the bugreport.
This commit is contained in:
Ondrej Zajicek (work) 2017-02-19 11:25:16 +01:00
parent 30c734fc73
commit 9be12a7d95

View file

@ -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>