summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorPavel Tvrdík <pawel.tvrdik@gmail.com>2016-03-15 14:55:40 +0100
committerPavel Tvrdík <pawel.tvrdik@gmail.com>2016-03-17 18:40:54 +0100
commit9036bbf2b7cc781c87f2a6b3979198f77ec6ada1 (patch)
tree116d41a0adf84d7f6898d4f80ce26b5a08516d5e /proto
parent79a4f74a65941603cc42680d2e61b00ec88abe97 (diff)
RIP: fix typo in configuration at rx length opt
Diffstat (limited to 'proto')
-rw-r--r--proto/rip/config.Y2
1 files changed, 1 insertions, 1 deletions
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; }