summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-10-21 17:25:36 +0200
committerDaniil Baturin <daniil@baturin.org>2018-10-21 17:25:36 +0200
commit38174337fbf99ce5159d659a7be943d091e1e631 (patch)
tree2417b247874910d5cc2f0b1b11137ce168daddd5
parent81f16510354b9fcface2fca55d50db57e01c82a2 (diff)
downloadvyatta-cfg-quagga-38174337fbf99ce5159d659a7be943d091e1e631.tar.gz
vyatta-cfg-quagga-38174337fbf99ce5159d659a7be943d091e1e631.zip
T890: fix the priority of the interface "ip <protocol>" subtree.
Without explicit priority setting (priority inversion, let's be honest) configs will fail to load because the system will attempt to change settings for a non-existent interface.
-rw-r--r--interface-templates/ip/ospf/node.def1
-rw-r--r--interface-templates/ip/rip/node.def1
-rw-r--r--interface-templates/ip/source-validation/node.def1
3 files changed, 3 insertions, 0 deletions
diff --git a/interface-templates/ip/ospf/node.def b/interface-templates/ip/ospf/node.def
index 8eaece24..7011d036 100644
--- a/interface-templates/ip/ospf/node.def
+++ b/interface-templates/ip/ospf/node.def
@@ -1 +1,2 @@
+priority: 610
help: Open Shortest Path First (OSPF) parameters
diff --git a/interface-templates/ip/rip/node.def b/interface-templates/ip/rip/node.def
index d6a4eb34..468803ed 100644
--- a/interface-templates/ip/rip/node.def
+++ b/interface-templates/ip/rip/node.def
@@ -1 +1,2 @@
+priority: 610
help: Routing Information Protocol (RIP)
diff --git a/interface-templates/ip/source-validation/node.def b/interface-templates/ip/source-validation/node.def
index 3ddb6aa5..2c8523d2 100644
--- a/interface-templates/ip/source-validation/node.def
+++ b/interface-templates/ip/source-validation/node.def
@@ -1,3 +1,4 @@
+priority: 610
# rp_filter
# default value - 0
# The max value from conf/{all,interface}/rp_filter is used