summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/bird.sgml9
-rw-r--r--nest/config.Y2
-rw-r--r--proto/rip/config.Y2
3 files changed, 9 insertions, 4 deletions
diff --git a/doc/bird.sgml b/doc/bird.sgml
index c5316d87..73061202 100644
--- a/doc/bird.sgml
+++ b/doc/bird.sgml
@@ -1862,6 +1862,11 @@ using the following configuration parameters:
in neighbor's implementation of 4B AS extension. Even when disabled
(off), BIRD behaves internally as AS4-aware BGP router. Default: on.
+ <tag>enable extended messages <m/switch/</tag>
+ The BGP protocol uses maximum message length of 4096 bytes. This option
+ provides an extension to allow extended messages with length up
+ to 65535 bytes. Default: off.
+
<tag>capabilities <m/switch/</tag>
Use capability advertisement to advertise optional capabilities. This is
standard behavior for newer BGP implementations, but there might be some
@@ -2057,7 +2062,7 @@ protocol bgp {
multihop; # ... which is connected indirectly
export filter { # We use non-trivial export rules
if source = RTS_STATIC then { # Export only static routes
- # Assign our community
+ # Assign our community
bgp_community.add((65000,64501));
# Artificially increase path length
# by advertising local AS number twice
@@ -2266,7 +2271,7 @@ these attributes:
<tag>ip <cf/krt_prefsrc/</tag> (Linux)
The preferred source address. Used in source address selection for
- outgoing packets. Has to be one of the IP addresses of the router.
+ outgoing packets. Has to be one of the IP addresses of the router.
<tag>int <cf/krt_realm/</tag> (Linux)
The realm of the route. Can be used for traffic classification.
diff --git a/nest/config.Y b/nest/config.Y
index 799a09f9..87827c10 100644
--- a/nest/config.Y
+++ b/nest/config.Y
@@ -111,7 +111,7 @@ idval:
$$ = ipa_to_u32(SYM_VAL($1).px.ip);
#endif
else
- cf_error("Number of IPv4 address constant expected");
+ cf_error("Number or IPv4 address constant expected");
}
;
diff --git a/proto/rip/config.Y b/proto/rip/config.Y
index 29ea7eb1..083d2e91 100644
--- a/proto/rip/config.Y
+++ b/proto/rip/config.Y
@@ -131,7 +131,7 @@ rip_iface_item:
| TIMEOUT TIME expr { RIP_IFACE->timeout_time = $3; if ($3<=0) cf_error("Timeout time must be positive"); }
| GARBAGE TIME expr { RIP_IFACE->garbage_time = $3; if ($3<=0) cf_error("Garbage time must be positive"); }
| ECMP WEIGHT expr { RIP_IFACE->ecmp_weight = $3 - 1; if (($3<1) || ($3>256)) cf_error("ECMP weight must be in range 1-256"); }
- | RX BUFFER expr { RIP_IFACE->rx_buffer = $3; if (($3<256) || ($3>65535)) cf_error("TX length must be in range 256-65535"); }
+ | RX BUFFER expr { RIP_IFACE->rx_buffer = $3; if (($3<256) || ($3>65535)) cf_error("RX length must be in range 256-65535"); }
| TX LENGTH expr { RIP_IFACE->tx_length = $3; if (($3<256) || ($3>65535)) cf_error("TX length must be in range 256-65535"); }
| TX tos { RIP_IFACE->tx_tos = $2; }
| TX PRIORITY expr { RIP_IFACE->tx_priority = $3; }