diff options
-rwxr-xr-x | lib/Vyatta/Interface.pm | 14 |
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 |