diff options
Diffstat (limited to 'lib/Vyatta/Interface.pm')
-rwxr-xr-x | lib/Vyatta/Interface.pm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Vyatta/Interface.pm b/lib/Vyatta/Interface.pm index a11b7c2..19dff4a 100755 --- a/lib/Vyatta/Interface.pm +++ b/lib/Vyatta/Interface.pm @@ -231,6 +231,14 @@ sub using_dhcp { return $addr[0]; } +sub bridge_grp { + my $self = shift; + my $config = new Vyatta::Config; + + $config->setLevel( $self->{path} ); + return $config->returnValue("bridge-group bridge"); +} + ## System checks # return array of current addresses (on system) |