bruns@2mbit.com 2010-05-15 17:29:54 +00:00
parent 9c937c31c2
commit 6b5bc5049e
1 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ if [ $BLOCKEDIP ]; then
echo -ne "\n"
fi
if [ $CLAMPMSS ]; then
if [ "$CLAMPMSS" ]; then
echo "Clamping MSS to PMTU..."
for i in $CLAMPMSS; do
$IPTABLES -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS \
@ -198,7 +198,7 @@ if [ $IPV6 ]; then
echo -ne "\n"
if [ $CLAMPMSSIPV6 ]; then
if [ "$CLAMPMSSIPV6" ]; then
echo "Clamping IPV6 MSS to PMTU..."
for i in $CLAMPMSSIPV6; do
$IP6TABLES -A FORWARD -p tcp --tcp-flags SYN,RST SYN \