From 669a71ff62c094399db82624b43ddee68ca08d14 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 17 Mar 2010 13:37:31 -0700 Subject: Fix typo in adsl interface discovery Need to use correct path when searching config path. (cherry picked from commit 6a75b597533068974477e30fc439f5c6ee285903) --- lib/Vyatta/Interface.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Vyatta') 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); } -- cgit v1.2.3