diff --git a/Shorewall-perl/Shorewall/Compiler.pm b/Shorewall-perl/Shorewall/Compiler.pm index b683abebc..48954533a 100644 --- a/Shorewall-perl/Shorewall/Compiler.pm +++ b/Shorewall-perl/Shorewall/Compiler.pm @@ -534,10 +534,10 @@ EOF if ( $family == F_IPV4 ) { if ( $config{IP_FORWARDING} eq 'on' ) { emit( 'echo 1 > /proc/sys/net/ipv4/ip_forward', - 'progress_message2 IP Forwarding Enabled' ); + 'progress_message2 IPv4 Forwarding Enabled' ); } elsif ( $config{IP_FORWARDING} eq 'off' ) { emit( 'echo 0 > /proc/sys/net/ipv4/ip_forward', - 'progress_message2 IP Forwarding Disabled!' + 'progress_message2 IPv4 Forwarding Disabled!' ); } } else { @@ -547,10 +547,10 @@ EOF if ( $config{IP_FORWARDING} eq 'on' ) { emit( 'echo 1 > /proc/sys/net/ipv6/conf/all/forwarding', - 'progress_message2 IP Forwarding Enabled' ); + 'progress_message2 IPv6 Forwarding Enabled' ); } elsif ( $config{IP_FORWARDING} eq 'off' ) { emit( 'echo 0 > /proc/sys/net/ipv6/conf/all/forwarding', - 'progress_message2 IP Forwarding Disabled!' + 'progress_message2 IPv6 Forwarding Disabled!' ); } } diff --git a/Shorewall-perl/Shorewall/Proc.pm b/Shorewall-perl/Shorewall/Proc.pm index a2a85cd02..51d26a432 100644 --- a/Shorewall-perl/Shorewall/Proc.pm +++ b/Shorewall-perl/Shorewall/Proc.pm @@ -203,19 +203,19 @@ sub setup_forwarding( $ ) { if ( $family == F_IPV4 ) { if ( $config{IP_FORWARDING} eq 'on' ) { emit ' echo 1 > /proc/sys/net/ipv4/ip_forward'; - emit ' progress_message2 IP Forwarding Enabled'; + emit ' progress_message2 IPv4 Forwarding Enabled'; } elsif ( $config{IP_FORWARDING} eq 'off' ) { emit ' echo 0 > /proc/sys/net/ipv4/ip_forward'; - emit ' progress_message2 IP Forwarding Disabled!'; + emit ' progress_message2 IPv4 Forwarding Disabled!'; emit ''; } } else { if ( $config{IP_FORWARDING} eq 'on' ) { emit ' echo 1 > /proc/sys/net/ipv6/conf/all/forwarding'; - emit ' progress_message2 IP Forwarding Enabled'; + emit ' progress_message2 IPv6 Forwarding Enabled'; } elsif ( $config{IP_FORWARDING} eq 'off' ) { emit ' echo 0 > /proc/sys/net/ipv6/conf/all/forwarding'; - emit ' progress_message2 IP Forwarding Disabled!'; + emit ' progress_message2 IPv6 Forwarding Disabled!'; emit ''; }