From 4f427171c08f02455c8252baf8f86d9db0a1a5b3 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 19 Feb 2009 09:48:18 -0800 Subject: Typo in regex for vtun Wouldn't match openvpn tunnels correctly. --- lib/Vyatta/Interface.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Vyatta/Interface.pm') diff --git a/lib/Vyatta/Interface.pm b/lib/Vyatta/Interface.pm index c37d77a..5e9e058 100644 --- a/lib/Vyatta/Interface.pm +++ b/lib/Vyatta/Interface.pm @@ -62,7 +62,7 @@ my %net_prefix = ( 'lo' => { path => 'loopback' }, 'ml[\d]+' => { path => 'multilink', vif => 'vif', }, - 'vtun[\d]+]' => { path => 'openvpn' }, + 'vtun[\d]+' => { path => 'openvpn' }, 'wan[\d]+' => { path => 'serial', vif => ( 'cisco-hdlc vif', 'ppp vif', 'frame-relay vif' ), -- cgit v1.2.3