From 7ed38a2c223dd3dbc96d72123eb267c7f4bf63db Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Wed, 21 May 2008 16:13:05 -0700 Subject: Fix 3155: setting the third vrrp member with the highest priority doesn't change (update) the backup --- templates/show/vrrp/interface/node.tag/group/node.tag/node.def | 2 +- templates/show/vrrp/interface/node.tag/node.def | 2 +- templates/show/vrrp/node.def | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/show') 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 '' -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 -- cgit v1.2.3