diff options
-rwxr-xr-x | lib/Vyatta/Interface.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Vyatta/Interface.pm b/lib/Vyatta/Interface.pm index 6d8de08..e22ae60 100755 --- a/lib/Vyatta/Interface.pm +++ b/lib/Vyatta/Interface.pm @@ -79,6 +79,10 @@ my %net_prefix = ( '^ifb[\d]+$' => { path => 'input' }, ); +sub get_net_prefix { + return %net_prefix; +} + # get list of interface types (only used in usage function) sub interface_types { my @types = map { $net_prefix{$_}{path} } keys %net_prefix; |