mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-14 03:34:31 +01:00
Fix origin in interfaces and hosts
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
247698a14d
commit
3fe4619f66
@ -894,7 +894,7 @@ sub add_group_to_zone($$$$$$)
|
|||||||
hosts => \@newnetworks,
|
hosts => \@newnetworks,
|
||||||
ipsec => $type & IPSEC ? 'ipsec' : 'none' ,
|
ipsec => $type & IPSEC ? 'ipsec' : 'none' ,
|
||||||
exclusions => \@exclusions ,
|
exclusions => \@exclusions ,
|
||||||
origin => shortlineinfo( '' ) ,
|
origin => shortlineinfo1( '' ) ,
|
||||||
};
|
};
|
||||||
|
|
||||||
if ( $type != IPSEC ) {
|
if ( $type != IPSEC ) {
|
||||||
@ -1397,9 +1397,8 @@ sub process_interface( $$ ) {
|
|||||||
physical => $physical ,
|
physical => $physical ,
|
||||||
base => var_base( $physical ),
|
base => var_base( $physical ),
|
||||||
zones => {},
|
zones => {},
|
||||||
origin => shortlineinfo(''),
|
origin => shortlineinfo1(''),
|
||||||
wildcard => $wildcard,
|
wildcard => $wildcard,
|
||||||
origin => shortlineinfo( '' ),
|
|
||||||
};
|
};
|
||||||
|
|
||||||
if ( $zone ) {
|
if ( $zone ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user