summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Interface.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Vyatta/Interface.pm')
-rwxr-xr-xlib/Vyatta/Interface.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Vyatta/Interface.pm b/lib/Vyatta/Interface.pm
index a25fddd..9cf13f7 100755
--- a/lib/Vyatta/Interface.pm
+++ b/lib/Vyatta/Interface.pm
@@ -83,8 +83,7 @@ my %net_prefix = (
vif => 'vif', },
'^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' },
+ '^dp\d+' => { path => 'dataplane', vif => 'vif' },
);
sub get_net_prefix {