From 074a166d9441a2b03931751dbc181e0d462a9d7c Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Wed, 7 Jun 2000 14:39:34 +0000 Subject: [PATCH] Better explanation for if/case, and RFC pointers for rip. Still searching for RIPv2 rfc number! --- doc/bird.sgml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/doc/bird.sgml b/doc/bird.sgml index dc68e9b1..b4b4bbae 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -282,7 +282,7 @@ protocol rip { passwords { password " Specifies passwords to be used with this protocol. Passive is - time from which the password is not used for sending, but it is recognized on reception. interface " Specifies which @@ -480,19 +480,16 @@ prefix and prefix (returning true if first prefix is more specific than second)

Filters support two control structures: conditions and case switches. - -

Syntax of condition is if -boolean expression then command; else command; and you can use { +boolean expression then command1; else command2; and you can use { command_1; command_2; ... } instead of one or both commands. else -clause may be omitted. +clause may be omitted. If boolean expression is true, command1 is executed, otherwise command2 is executed.

case is similar to case from Pascal. Syntax is case . Expression after case can be of any type that can be on the left side of the ˜ operator, and anything that could be a member of a set is allowed before matches one of matches neither of Here is example that uses . Both IPv4 -and IPv6 versions of RIP are supported by BIRD, historical RIPv1 is -currently not fully supported. +URL="http://www.ietf.org/html.charters/rip-charter.html" name="http://www.ietf.org/html.charters/rip-charter.html">. Both IPv4 +(RFC ????) +and IPv6 (RFC 2080) versions of RIP are supported by BIRD, historical RIPv1 (RFC 1058)is +not currently supported. RIPv4 md5 authentication (RFC 2082) is supported.

RIP is a very simple protocol, and it has a lot of shortcomings. Slow convergence, big network load and inability to handle larger networks