summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2014-10-09 00:09:54 +0200
committerDaniil Baturin <daniil@baturin.org>2014-10-09 00:09:54 +0200
commit8e79b4c064309ce30a2fa69f4979736de29d7f5d (patch)
tree9fa4bdbe5111d96a9e1bb62b3088fd7f91785da0 /scripts
parent46c12d107a2cf548386f98b1b66408035f234a4c (diff)
downloadvyatta-cfg-system-8e79b4c064309ce30a2fa69f4979736de29d7f5d.tar.gz
vyatta-cfg-system-8e79b4c064309ce30a2fa69f4979736de29d7f5d.zip
Use returnEffectiveValues in intfwatchd so it works outside of config session.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/vyos-intfwatchd2
1 files changed, 1 insertions, 1 deletions
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(<HANDLE>)
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)