Commit 9be12a7d authored by Ondrej Zajicek (work)'s avatar Ondrej Zajicek (work)
Browse files

Doc: Fix RIP example

Thanks to Steve Leung for the bugreport.
parent 30c734fc
Loading
Loading
Loading
Loading
+11 −10
Original line number Diff line number Diff line
@@ -3806,16 +3806,17 @@ protocol rip [<name>] {

<p><code>
protocol rip {
        debug all;
	import all;
	export all;
	interface "eth*" {
		metric 2;
		port 1520;
        period 12;
        garbage time 60;
        interface "eth0" { metric 3; mode multicast; };
        interface "eth*" { metric 2; mode broadcast; };
		mode multicast;
		update time 12;
		timeout time 60;
		authentication cryptographic;
        password "secret-shared-key" { algorithm hmac sha256; };
        import filter { print "importing"; accept; };
        export filter { print "exporting"; accept; };
		password "secret" { algorithm hmac sha256; };
	};
}
</code>