mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 19:00:34 +02:00
Forward Firewall:
1) Custom Hosts: now 17 chars can be entered into IP/MAC field 2) Forwardfw: Bugfix: When no alias is set and IPFIRE is selected as target, no target address is recognised 3) Forwardfw: Now source and Target addressfield (manual) are set to 17 chars maxlegth. 4) Converter: Bugfix: When starting converter from commandline, all hosts are entered into groups again.
This commit is contained in:
committed by
Michael Tremer
parent
bedb72f3d4
commit
f2ab6fba4a
@@ -174,7 +174,7 @@ sub new_hostgrp
|
||||
$name3="Custom Network";
|
||||
}
|
||||
}
|
||||
if($name2){
|
||||
if($name2 && !&check_grp($grp,$name2)){
|
||||
my $grpkey = &General::findhasharraykey(\%groups);
|
||||
$groups{$grpkey}[0] = $grp;
|
||||
$groups{$grpkey}[1] = '';
|
||||
@@ -204,7 +204,7 @@ sub new_hostgrp
|
||||
$name2=$name.$mac;
|
||||
$name3="Custom Host";
|
||||
}
|
||||
if($name2){
|
||||
if($name2 && !&check_grp($grp,$name2)){
|
||||
my $grpkey = &General::findhasharraykey(\%groups);
|
||||
$groups{$grpkey}[0] = $grp;
|
||||
$groups{$grpkey}[1] = '';
|
||||
|
||||
Reference in New Issue
Block a user