diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-04-27 14:46:02 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-04-27 14:46:02 -0700 |
commit | 58dfbcf34bd992567d58f14bcb09294dc97a9297 (patch) | |
tree | feb377590e70d4c632362893eb20c7e8d760b007 | |
parent | cf89b84563c76507db5b2635870ea9ef90feb5e8 (diff) | |
download | vyatta-cfg-58dfbcf34bd992567d58f14bcb09294dc97a9297.tar.gz vyatta-cfg-58dfbcf34bd992567d58f14bcb09294dc97a9297.zip |
Fix path to virtual-ethernet
And indent net_prefix
-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 |