From 58dfbcf34bd992567d58f14bcb09294dc97a9297 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 27 Apr 2009 14:46:02 -0700 Subject: Fix path to virtual-ethernet And indent net_prefix --- lib/Vyatta/Interface.pm | 14 +++++++------- 1 file 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 -- cgit v1.2.3