From 00a1956d0aaf6044acc669f409cf6e4ceb48da0e 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') diff --git a/lib/Vyatta/Interface.pm b/lib/Vyatta/Interface.pm index e22ae60..d1f129b 100755 --- a/lib/Vyatta/Interface.pm +++ b/lib/Vyatta/Interface.pm @@ -181,7 +181,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