mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-19 17:28:35 +02:00
Rearrange some messages and update required lib version
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4789 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
78594b2efd
commit
8918814a89
@ -4913,6 +4913,8 @@ compile_firewall() # $1 = File Name
|
||||
run_iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS $option
|
||||
}
|
||||
|
||||
progress_message2 "Initializing..."
|
||||
|
||||
#
|
||||
# So that mktempdir doesn't have to jump through hoops when there isn't a working 'mktemp',
|
||||
# we create the compiler's temporary directory in TMP_DIR
|
||||
@ -5126,7 +5128,7 @@ __EOF__
|
||||
|
||||
local version=\$(cat \${SHAREDIR}/version)
|
||||
|
||||
if [ \${SHOREWALL_LIBVERSION:-0} -lt 30200 ]; then
|
||||
if [ \${SHOREWALL_LIBVERSION:-0} -lt 30203 ]; then
|
||||
fatal_error "This script requires Shorewall version 3.3.3 or later; current version is \$version"
|
||||
fi
|
||||
#
|
||||
@ -5193,8 +5195,6 @@ __EOF__
|
||||
}
|
||||
__EOF__
|
||||
|
||||
progress_message2 "Initializing..."
|
||||
|
||||
report_capabilities
|
||||
|
||||
if [ -n "$BRIDGING" ]; then
|
||||
@ -5272,14 +5272,10 @@ __EOF__
|
||||
|
||||
INDENT=" "
|
||||
|
||||
cat >&3 << __EOF__
|
||||
|
||||
load_kernel_modules
|
||||
|
||||
__EOF__
|
||||
|
||||
save_progress_message "Initializing..."
|
||||
|
||||
save_command load_kernel_modules
|
||||
|
||||
for interface in $ALL_INTERFACES; do
|
||||
if interface_has_option $interface norfc1918; then
|
||||
indent >&3 << __EOF__
|
||||
|
Loading…
x
Reference in New Issue
Block a user