From 8e79b4c064309ce30a2fa69f4979736de29d7f5d Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Thu, 9 Oct 2014 00:09:54 +0200 Subject: Use returnEffectiveValues in intfwatchd so it works outside of config session. --- scripts/vyos-intfwatchd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/vyos-intfwatchd b/scripts/vyos-intfwatchd index d5f6753b..b8bde3f3 100644 --- a/scripts/vyos-intfwatchd +++ b/scripts/vyos-intfwatchd @@ -138,7 +138,7 @@ while() my $intf_addr_path = $intf->path() . " address"; # Get IPv6 addresses - my @addresses = grep /:/, $config->returnValues($intf_addr_path); + my @addresses = grep /:/, $config->returnEffectiveValues($intf_addr_path); print Dumper(@addresses) if $debug; foreach my $address (@addresses) -- cgit v1.2.3