summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2021-01-11 08:19:33 +0000
committerChristian Poessinger <christian@poessinger.com>2021-01-24 15:01:02 +0100
commit7be9fedda499b98b80375b83fc522a7b9c211f7d (patch)
tree84d61fda3c12d963277609dd17e5c79d3bc36c68
parentc4fd7d2e055dba1801b14bf679b570036fb6255f (diff)
downloadvyatta-cfg-quagga-7be9fedda499b98b80375b83fc522a7b9c211f7d.tar.gz
vyatta-cfg-quagga-7be9fedda499b98b80375b83fc522a7b9c211f7d.zip
ospf: T3194: Fix redistribute mertic values
(cherry picked from commit 3bc223167358a6af6b45c76de0e3a2476e7e6274)
-rw-r--r--templates/protocols/ospf/redistribute/bgp/metric/node.def4
-rw-r--r--templates/protocols/ospf/redistribute/connected/metric/node.def4
-rw-r--r--templates/protocols/ospf/redistribute/kernel/metric/node.def4
-rw-r--r--templates/protocols/ospf/redistribute/rip/metric/node.def4
-rw-r--r--templates/protocols/ospf/redistribute/static/metric/node.def4
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