diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2012-06-21 18:02:10 -0700 |
---|---|---|
committer | Stephen Hemminger <shemminger@vyatta.com> | 2012-06-21 18:02:10 -0700 |
commit | 80494ea87918712040eb5cc7df94de9afafc5b18 (patch) | |
tree | 4ab84305b89f3ce930092a6592a068c73d3f43d5 /lib | |
parent | 79c2254d4daa9cf0831478dc0a8e3ba5c7400c15 (diff) | |
download | vyatta-cfg-80494ea87918712040eb5cc7df94de9afafc5b18.tar.gz vyatta-cfg-80494ea87918712040eb5cc7df94de9afafc5b18.zip |
Allow dataplane interface name dp0em0
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/Vyatta/Interface.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Vyatta/Interface.pm b/lib/Vyatta/Interface.pm index f504148..93d559f 100755 --- a/lib/Vyatta/Interface.pm +++ b/lib/Vyatta/Interface.pm @@ -84,6 +84,7 @@ my %net_prefix = ( '^wlan[\d]+$' => { path => 'wireless', vif => 'vif' }, '^ifb[\d]+$' => { path => 'input' }, '^dp\d+p\d+p\d+$' => { path => 'dataplane', vif => 'vif' }, + '^dp\d+em\d+$' => { path => 'dataplane', vif => 'vif' }, ); sub get_net_prefix { |