diff options
| author | Daniil Baturin <daniil@baturin.org> | 2014-10-09 00:09:54 +0200 |
|---|---|---|
| committer | Daniil Baturin <daniil@baturin.org> | 2014-10-09 00:09:54 +0200 |
| commit | 8e79b4c064309ce30a2fa69f4979736de29d7f5d (patch) | |
| tree | 9fa4bdbe5111d96a9e1bb62b3088fd7f91785da0 /scripts/vyos-intfwatchd | |
| parent | 46c12d107a2cf548386f98b1b66408035f234a4c (diff) | |
| download | vyatta-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/vyos-intfwatchd')
| -rw-r--r-- | scripts/vyos-intfwatchd | 2 |
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) |
