From 80494ea87918712040eb5cc7df94de9afafc5b18 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 21 Jun 2012 18:02:10 -0700 Subject: Allow dataplane interface name dp0em0 --- lib/Vyatta/Interface.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/Vyatta') 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 { -- cgit v1.2.3