Dear members.
Filed http://bugzilla.vyos.net/show_bug.cgi?id=202
set interfaces ethernet eth0 vrrp vrrp-group 100 virtual-address 192.168.100.245/24
set interfaces ethernet eth0 vrrp vrrp-group 100 description test
vyos@vyos:~$ show vrrp detail
Use of uninitialized value in printf at /opt/vyatta/share/perl5/Vyatta/VRRP/OPMode.pm line 249.
--------------------------------------------------
Interface: eth0
--------------
Group: 100
----------
State: MASTER
Last transition: 8s
Source Address:
Priority: 100
Advertisement interval: 1 sec
Authentication type: none
Preempt: enabled
VIP count: 1
192.168.100.245/24
printf " Source Address:\t\t%s\n",
$dh->{instances}->{$interface}->{$vrid}->{'using-mcast-src_ip'};
Please let me know which is proper fix.
[list=1]
[] Source address should be display eth0 address.
[] This configuration is invalid should commit fail.
[/list]
And does anyonoe knows how to get eth0 address in perl script?
Sincerely.
–
Hiroyuki Sato