summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2008-05-21 16:13:05 -0700
committerStig Thormodsrud <stig@vyatta.com>2008-05-21 16:13:05 -0700
commit7ed38a2c223dd3dbc96d72123eb267c7f4bf63db (patch)
tree8e22d0c307e7e2b2e6d18003084a7c309bc4b1d7 /templates
parent7e9d43b6e612c08b481214b621ba24590eddb17c (diff)
downloadvyatta-op-7ed38a2c223dd3dbc96d72123eb267c7f4bf63db.tar.gz
vyatta-op-7ed38a2c223dd3dbc96d72123eb267c7f4bf63db.zip
Fix 3155: setting the third vrrp member with the highest priority doesn't change (update) the backup
Diffstat (limited to 'templates')
-rw-r--r--templates/show/vrrp/interface/node.tag/group/node.tag/node.def2
-rw-r--r--templates/show/vrrp/interface/node.tag/node.def2
-rw-r--r--templates/show/vrrp/node.def2
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/show/vrrp/interface/node.tag/group/node.tag/node.def b/templates/show/vrrp/interface/node.tag/group/node.tag/node.def
index 1e74e2d..e47d186 100644
--- a/templates/show/vrrp/interface/node.tag/group/node.tag/node.def
+++ b/templates/show/vrrp/interface/node.tag/group/node.tag/node.def
@@ -1,3 +1,3 @@
help: Show VRRP information for specified interface and group
allowed: echo -n '<VRRP_GROUP>'
-run: /opt/vyatta/sbin/vyatta-show-vrrp.pl "$4" "$6"
+run: sudo /opt/vyatta/sbin/vyatta-show-vrrp.pl "$4" "$6"
diff --git a/templates/show/vrrp/interface/node.tag/node.def b/templates/show/vrrp/interface/node.tag/node.def
index 860b12a..91f7186 100644
--- a/templates/show/vrrp/interface/node.tag/node.def
+++ b/templates/show/vrrp/interface/node.tag/node.def
@@ -2,4 +2,4 @@ help: Show VRRP information for specified interface
allowed: local -a array ;
array=( /sys/class/net/eth* ) ;
echo -n ${array[@]##*/}
-run: /opt/vyatta/sbin/vyatta-show-vrrp.pl "$4"
+run: sudo /opt/vyatta/sbin/vyatta-show-vrrp.pl "$4"
diff --git a/templates/show/vrrp/node.def b/templates/show/vrrp/node.def
index 3842d98..cdbebe7 100644
--- a/templates/show/vrrp/node.def
+++ b/templates/show/vrrp/node.def
@@ -1,2 +1,2 @@
help: Show Virtual Router Redundancy Protocol (VRRP) information
-run: /opt/vyatta/sbin/vyatta-show-vrrp.pl
+run: sudo /opt/vyatta/sbin/vyatta-show-vrrp.pl