mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
firewall: Fix using aliases.
Fix coding errors, actually read aliases configuration and fall back to default RED IP address if no suitable alias was found.
This commit is contained in:
@@ -53,7 +53,6 @@ my %customgrp=();
|
||||
my %configinputfw=();
|
||||
my %configoutgoingfw=();
|
||||
my %confignatfw=();
|
||||
my %aliases=();
|
||||
my @p2ps=();
|
||||
|
||||
my $configfwdfw = "${General::swroot}/firewall/config";
|
||||
@@ -69,7 +68,6 @@ my $netsettings = "${General::swroot}/ethernet/settings";
|
||||
&General::readhasharray($configinput, \%configinputfw);
|
||||
&General::readhasharray($configoutgoing, \%configoutgoingfw);
|
||||
&General::readhasharray($configgrp, \%customgrp);
|
||||
&General::get_aliases(\%aliases);
|
||||
|
||||
my @log_limit_options = &make_log_limit_options();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user