mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-30 09:29:42 +01:00
Don't strip files if the perl compiler will be used
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5745 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
eb3ef2e636
commit
3271f183e8
@ -862,8 +862,13 @@ setup_ecn() # $1 = file name
|
|||||||
flushmangle $chain
|
flushmangle $chain
|
||||||
else
|
else
|
||||||
createmanglechain $chain
|
createmanglechain $chain
|
||||||
run_iptables -t mangle -A POSTROUTING -p tcp -o $interface -j $chain
|
|
||||||
run_iptables -t mangle -A OUTPUT -p tcp -o $interface -j $chain
|
if [ -n "$MANGLE_FORWARD" ]; then
|
||||||
|
run_iptables -t mangle -A PREROUTING -p tcp -o $interface -j $chain
|
||||||
|
else
|
||||||
|
run_iptables -t mangle -A POSTROUTING -p tcp -o $interface -j $chain
|
||||||
|
run_iptables -t mangle -A OUTPUT -p tcp -o $interface -j $chain
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -2087,44 +2087,42 @@ do_initialize() {
|
|||||||
strip_file hosts
|
strip_file hosts
|
||||||
|
|
||||||
if [ $PROGRAM = compiler ]; then
|
if [ $PROGRAM = compiler ]; then
|
||||||
strip_file_and_lib_load accounting accounting
|
if [ $SHOREWALL_COMPILER = 'shell' ]; then
|
||||||
|
strip_file_and_lib_load accounting accounting
|
||||||
|
|
||||||
if [ -n "$USE_ACTIONS" ]; then
|
if [ -n "$USE_ACTIONS" ]; then
|
||||||
strip_file actions
|
strip_file actions
|
||||||
strip_file actions.std ${SHAREDIR}/actions.std
|
strip_file actions.std ${SHAREDIR}/actions.std
|
||||||
fi
|
fi
|
||||||
|
|
||||||
strip_file blacklist
|
strip_file blacklist
|
||||||
strip_file ecn
|
strip_file ecn
|
||||||
strip_file maclist
|
strip_file maclist
|
||||||
strip_file_and_lib_load masq nat
|
strip_file_and_lib_load masq nat
|
||||||
strip_file_and_lib_load nat nat
|
strip_file_and_lib_load nat nat
|
||||||
strip_file_and_lib_load netmap nat
|
strip_file_and_lib_load netmap nat
|
||||||
strip_file policy
|
strip_file policy
|
||||||
strip_file_and_lib_load providers providers && strip_file route_rules
|
strip_file_and_lib_load providers providers && strip_file route_rules
|
||||||
strip_file_and_lib_load proxyarp proxyarp
|
strip_file_and_lib_load proxyarp proxyarp
|
||||||
strip_file rfc1918
|
strip_file rfc1918
|
||||||
strip_file routestopped
|
strip_file routestopped
|
||||||
strip_file rules
|
strip_file rules
|
||||||
|
|
||||||
if [ "$TC_ENABLED" = Internal ]; then
|
if [ "$TC_ENABLED" = Internal ]; then
|
||||||
strip_file_and_lib_load tcdevices tc
|
strip_file_and_lib_load tcdevices tc
|
||||||
strip_file_and_lib_load tcclasses tc
|
strip_file_and_lib_load tcclasses tc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
strip_file_and_lib_load tcrules tcrules
|
strip_file_and_lib_load tcrules tcrules
|
||||||
strip_file tos
|
strip_file tos
|
||||||
strip_file_and_lib_load tunnels tunnels
|
strip_file_and_lib_load tunnels tunnels
|
||||||
if [ "$SHOREWALL_COMPILER" = perl ]; then
|
FW=
|
||||||
|
else
|
||||||
report_capabilities1 > $TMP_DIR/capabilities
|
report_capabilities1 > $TMP_DIR/capabilities
|
||||||
export TMP_DIR
|
export TMP_DIR
|
||||||
export CONFIG_PATH
|
export CONFIG_PATH
|
||||||
export VERSION
|
export VERSION
|
||||||
|
export FW
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
#
|
|
||||||
# Clear $FW
|
|
||||||
#
|
|
||||||
FW=
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user