diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-03-17 13:37:31 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-03-17 13:52:02 -0700 |
commit | 669a71ff62c094399db82624b43ddee68ca08d14 (patch) | |
tree | 5ab6c4d47d1963a083c1eb827703d10cb90ab3b0 /lib/Vyatta/Interface.pm | |
parent | 99eed204e09b4360a169e81df414eb6c44e74907 (diff) | |
download | vyatta-cfg-669a71ff62c094399db82624b43ddee68ca08d14.tar.gz vyatta-cfg-669a71ff62c094399db82624b43ddee68ca08d14.zip |
Fix typo in adsl interface discovery
Need to use correct path when searching config path.
(cherry picked from commit 6a75b597533068974477e30fc439f5c6ee285903)
Diffstat (limited to 'lib/Vyatta/Interface.pm')
-rwxr-xr-x | lib/Vyatta/Interface.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Vyatta/Interface.pm b/lib/Vyatta/Interface.pm index 230ccab..b7473dc 100755 --- a/lib/Vyatta/Interface.pm +++ b/lib/Vyatta/Interface.pm @@ -115,9 +115,9 @@ sub _ppp_path { return $path if $config->exists($path); } - my $adsl = "interface adsl $intf pvc"; + my $adsl = "interfaces adsl $intf pvc"; foreach my $pvc ($config->listNodes($adsl)) { - my $path = "$adsl pvc $pvc $type $id"; + my $path = "$adsl $pvc $type $id"; return $path if $config->exists($path); } |