summaryrefslogtreecommitdiffstats
path: root/perl-install/network/shorewall.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network/shorewall.pm')
-rw-r--r--perl-install/network/shorewall.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/network/shorewall.pm b/perl-install/network/shorewall.pm
index eb3a4e045..fe5c2678a 100644
--- a/perl-install/network/shorewall.pm
+++ b/perl-install/network/shorewall.pm
@@ -50,8 +50,7 @@ sub get_default_device() {
my $netc = {};
my $intf = {};
network::netconnect::read_net_conf($netcnx, $netc, $intf);
- my $default_intf = network::tools::get_default_gateway_interface($netc, $intf);
- $default_intf->{DEVICE};
+ network::tools::get_default_gateway_interface($netc, $intf);
}
sub get_net_device() {