summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-04-27 14:46:02 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-04-27 14:46:02 -0700
commit58dfbcf34bd992567d58f14bcb09294dc97a9297 (patch)
treefeb377590e70d4c632362893eb20c7e8d760b007 /lib
parentcf89b84563c76507db5b2635870ea9ef90feb5e8 (diff)
downloadvyatta-cfg-58dfbcf34bd992567d58f14bcb09294dc97a9297.tar.gz
vyatta-cfg-58dfbcf34bd992567d58f14bcb09294dc97a9297.zip
Fix path to virtual-ethernet
And indent net_prefix
Diffstat (limited to 'lib')
-rwxr-xr-xlib/Vyatta/Interface.pm14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/Vyatta/Interface.pm b/lib/Vyatta/Interface.pm
index b2a0041..c97b947 100755
--- a/lib/Vyatta/Interface.pm
+++ b/lib/Vyatta/Interface.pm
@@ -68,13 +68,13 @@ my %net_prefix = (
'ml[\d]+' => { path => 'multilink',
vif => 'vif', },
'vtun[\d]+' => { path => 'openvpn' },
- 'wan[\d]+' => {
- path => 'serial',
- vif => ( 'cisco-hdlc vif', 'ppp vif', 'frame-relay vif' ),
- },
- 'tun[\d]+' => { path => 'tunnel' },
- 'wlm[\d]+' => { path => 'wireless-modem' },
- 'veth[\d]+' => { path => 'ethernet', vif => 'vif', },
+ 'wan[\d]+' => { path => 'serial',
+ vif => ( 'cisco-hdlc vif', 'ppp vif',
+ 'frame-relay vif' ), },
+ 'tun[\d]+' => { path => 'tunnel' },
+ 'wlm[\d]+' => { path => 'wireless-modem' },
+ 'veth[\d]+' => { path => 'virtual-ethernet',
+ vif => 'vif', },
);
# get list of interface types