summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Interface.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Vyatta/Interface.pm')
-rwxr-xr-xlib/Vyatta/Interface.pm4
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);
}