summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@uffda.(none)>2007-11-19 15:55:45 -0800
committerStig Thormodsrud <stig@uffda.(none)>2007-11-19 15:55:45 -0800
commit5d09a07e0fa9567559f2929f026cdf970a8015df (patch)
treea0777053bed4d093bb90fe11d5f227389ef047ba /templates
parentf50d376954e29731a1577b94f52193a13059d047 (diff)
downloadvyatta-cfg-quagga-5d09a07e0fa9567559f2929f026cdf970a8015df.tar.gz
vyatta-cfg-quagga-5d09a07e0fa9567559f2929f026cdf970a8015df.zip
Fix 2498 vrrp configuration can NOT be committed.
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/ethernet/node.tag/vrrp/node.def3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/interfaces/ethernet/node.tag/vrrp/node.def b/templates/interfaces/ethernet/node.tag/vrrp/node.def
index 38622243..de3253a5 100644
--- a/templates/interfaces/ethernet/node.tag/vrrp/node.def
+++ b/templates/interfaces/ethernet/node.tag/vrrp/node.def
@@ -1,4 +1,5 @@
help: "Configure VRRP"
-commit: $(virtual-address/@) != ""; "must define the virtual-address"
+commit: $(../address/) != ""; "Must define a primary IP address on $(../@)"
+commit: $(virtual-address/) != ""; "Must define the virtual-address for vrrp-group $(../vrrp-group/@)"
end: "sudo /opt/vyatta/sbin/vyatta-keepalived.pl --vrrp-action update --intf $(../@) "