summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Interface.pm
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-02-19 09:48:18 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-02-19 09:48:18 -0800
commit4f427171c08f02455c8252baf8f86d9db0a1a5b3 (patch)
treea4b0ff29e0d83dc6f619578f333273feba617ba9 /lib/Vyatta/Interface.pm
parent30fa99304cb6313f418a4b336e0ad9d1309b4e97 (diff)
downloadvyatta-cfg-4f427171c08f02455c8252baf8f86d9db0a1a5b3.tar.gz
vyatta-cfg-4f427171c08f02455c8252baf8f86d9db0a1a5b3.zip
Typo in regex for vtun
Wouldn't match openvpn tunnels correctly.
Diffstat (limited to 'lib/Vyatta/Interface.pm')
-rw-r--r--lib/Vyatta/Interface.pm2
1 files changed, 1 insertions, 1 deletions
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' ),