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