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:49:55 -0700 |
commit | 6a75b597533068974477e30fc439f5c6ee285903 (patch) | |
tree | fe3d4b88322a398c8b00c4d42273385b954d442a /lib/Vyatta/Interface.pm | |
parent | bb368b089e72e89777ef18d0fcb2d61ae390c9a9 (diff) | |
download | vyatta-cfg-6a75b597533068974477e30fc439f5c6ee285903.tar.gz vyatta-cfg-6a75b597533068974477e30fc439f5c6ee285903.zip |
Fix typo in adsl interface discovery
Need to use correct path when searching config path.
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); } |