summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/interfaces/pseudo-ethernet/node.def2
-rw-r--r--templates/interfaces/pseudo-ethernet/node.tag/address/node.def1
2 files changed, 2 insertions, 1 deletions
diff --git a/templates/interfaces/pseudo-ethernet/node.def b/templates/interfaces/pseudo-ethernet/node.def
index 2d2da19f..5b0aaac9 100644
--- a/templates/interfaces/pseudo-ethernet/node.def
+++ b/templates/interfaces/pseudo-ethernet/node.def
@@ -1,5 +1,5 @@
tag:
-priority: 390
+priority: 319 # same as vif
type: txt
help: Pseudo Ethernet device name
val_help: <pethN>; Pseudo Ethernet interface name
diff --git a/templates/interfaces/pseudo-ethernet/node.tag/address/node.def b/templates/interfaces/pseudo-ethernet/node.tag/address/node.def
index d2812446..253c4775 100644
--- a/templates/interfaces/pseudo-ethernet/node.tag/address/node.def
+++ b/templates/interfaces/pseudo-ethernet/node.tag/address/node.def
@@ -1,5 +1,6 @@
multi:
type: txt
+priority: 320 # After peth device is initialized
help: IP address
syntax:expression: exec "/opt/vyatta/sbin/valid_address $VAR(@)"