From d1fced315206d9160e869d8aabd6deb49192fe99 Mon Sep 17 00:00:00 2001 From: John Southworth Date: Tue, 22 Nov 2011 08:40:24 -0800 Subject: adjust pppoe interface detection for non-userland --- lib/Vyatta/Interface.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Vyatta') 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; } -- cgit v1.2.3