diff options
author | sever-sever <v.gletenko@vyos.io> | 2021-01-11 08:19:33 +0000 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-01-24 15:01:19 +0100 |
commit | 250e9306b0fa5a061a3eb45547ee5e809d3060aa (patch) | |
tree | ee93e4c2e45242b430bb60d79b5a3ec17d3e01cf | |
parent | 8efa50b7f0d5a84b5eb98353465911bc8aa292fe (diff) | |
download | vyatta-cfg-quagga-250e9306b0fa5a061a3eb45547ee5e809d3060aa.tar.gz vyatta-cfg-quagga-250e9306b0fa5a061a3eb45547ee5e809d3060aa.zip |
ospf: T3194: Fix redistribute mertic values
(cherry picked from commit 3bc223167358a6af6b45c76de0e3a2476e7e6274)
5 files changed, 10 insertions, 10 deletions
diff --git a/templates/protocols/ospf/redistribute/bgp/metric/node.def b/templates/protocols/ospf/redistribute/bgp/metric/node.def index 87ba8418..58fd80d7 100644 --- a/templates/protocols/ospf/redistribute/bgp/metric/node.def +++ b/templates/protocols/ospf/redistribute/bgp/metric/node.def @@ -1,4 +1,4 @@ type: u32 help: Metric for redistributed routes -syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 16; "metric must be between 1 and 16" -val_help: u32:1-16; Metric for redistributed routes +syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 16777214; "metric must be between 0 and 16777214" +val_help: u32:0-16777214; Metric for redistributed routes diff --git a/templates/protocols/ospf/redistribute/connected/metric/node.def b/templates/protocols/ospf/redistribute/connected/metric/node.def index 87ba8418..58fd80d7 100644 --- a/templates/protocols/ospf/redistribute/connected/metric/node.def +++ b/templates/protocols/ospf/redistribute/connected/metric/node.def @@ -1,4 +1,4 @@ type: u32 help: Metric for redistributed routes -syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 16; "metric must be between 1 and 16" -val_help: u32:1-16; Metric for redistributed routes +syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 16777214; "metric must be between 0 and 16777214" +val_help: u32:0-16777214; Metric for redistributed routes diff --git a/templates/protocols/ospf/redistribute/kernel/metric/node.def b/templates/protocols/ospf/redistribute/kernel/metric/node.def index 87ba8418..58fd80d7 100644 --- a/templates/protocols/ospf/redistribute/kernel/metric/node.def +++ b/templates/protocols/ospf/redistribute/kernel/metric/node.def @@ -1,4 +1,4 @@ type: u32 help: Metric for redistributed routes -syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 16; "metric must be between 1 and 16" -val_help: u32:1-16; Metric for redistributed routes +syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 16777214; "metric must be between 0 and 16777214" +val_help: u32:0-16777214; Metric for redistributed routes diff --git a/templates/protocols/ospf/redistribute/rip/metric/node.def b/templates/protocols/ospf/redistribute/rip/metric/node.def index 87ba8418..58fd80d7 100644 --- a/templates/protocols/ospf/redistribute/rip/metric/node.def +++ b/templates/protocols/ospf/redistribute/rip/metric/node.def @@ -1,4 +1,4 @@ type: u32 help: Metric for redistributed routes -syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 16; "metric must be between 1 and 16" -val_help: u32:1-16; Metric for redistributed routes +syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 16777214; "metric must be between 0 and 16777214" +val_help: u32:0-16777214; Metric for redistributed routes diff --git a/templates/protocols/ospf/redistribute/static/metric/node.def b/templates/protocols/ospf/redistribute/static/metric/node.def index 87ba8418..58fd80d7 100644 --- a/templates/protocols/ospf/redistribute/static/metric/node.def +++ b/templates/protocols/ospf/redistribute/static/metric/node.def @@ -1,4 +1,4 @@ type: u32 help: Metric for redistributed routes -syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 16; "metric must be between 1 and 16" -val_help: u32:1-16; Metric for redistributed routes +syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 16777214; "metric must be between 0 and 16777214" +val_help: u32:0-16777214; Metric for redistributed routes |