Shorten DBL exclusion chain names

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2024-03-04 12:10:56 -08:00
parent f21d8b2a27
commit 8d0dba349c

View File

@ -2446,7 +2446,7 @@ sub output_option_chain($) {
# #
sub nodbl_src_chain($) { sub nodbl_src_chain($) {
my $interface = shift; my $interface = shift;
( $config{USE_PHYSICAL_NAMES} ? chain_base( get_physical( $interface ) ) : get_logical( $interface ) ) . '_nosbl'; ( $config{USE_PHYSICAL_NAMES} ? chain_base( get_physical( $interface ) ) : get_logical( $interface ) ) . '_nobl';
} }
# #
@ -2454,7 +2454,7 @@ sub nodbl_src_chain($) {
# #
sub nodbl_dst_chain($) { sub nodbl_dst_chain($) {
my $interface = shift; my $interface = shift;
( $config{USE_PHYSICAL_NAMES} ? chain_base( get_physical( $interface ) ) : get_logical( $interface ) ) . '_nodbl'; ( $config{USE_PHYSICAL_NAMES} ? chain_base( get_physical( $interface ) ) : get_logical( $interface ) ) . '_ndbl';
} }
# #
@ -2462,7 +2462,7 @@ sub nodbl_dst_chain($) {
# #
sub nodbl_classic_chain($) { sub nodbl_classic_chain($) {
my $interface = shift; my $interface = shift;
( $config{USE_PHYSICAL_NAMES} ? chain_base( get_physical( $interface ) ) : get_logical( $interface ) ) . '_nocbl'; ( $config{USE_PHYSICAL_NAMES} ? chain_base( get_physical( $interface ) ) : get_logical( $interface ) ) . '_ncbl';
} }
# #