summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Interface.pm
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-11-22 08:40:24 -0800
committerJohn Southworth <john.southworth@vyatta.com>2012-03-22 13:59:55 -0700
commitd1fced315206d9160e869d8aabd6deb49192fe99 (patch)
tree443ceda567f374ccbc294fe4f323f21dbc46a227 /lib/Vyatta/Interface.pm
parent53cd4267eca7d1bd45cce2d2ce47bc63d278e9b4 (diff)
downloadvyatta-cfg-d1fced315206d9160e869d8aabd6deb49192fe99.tar.gz
vyatta-cfg-d1fced315206d9160e869d8aabd6deb49192fe99.zip
adjust pppoe interface detection for non-userland
Diffstat (limited to 'lib/Vyatta/Interface.pm')
-rwxr-xr-xlib/Vyatta/Interface.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/Interface.pm b/lib/Vyatta/Interface.pm
index 10f3f25..e8e2e30 100755
--- a/lib/Vyatta/Interface.pm
+++ b/lib/Vyatta/Interface.pm
@@ -210,7 +210,7 @@ sub _ppp_intf {
chomp;
# looking for line like:
# pty "/usr/sbin/pppoe -m 1412 -I eth1"
- next unless /^pty\s.*-I\s*(\w+)"/;
+ next unless /pty\s.*-I\s*(\w+)"/;
$intf = $1;
last;
}