Update iptables.sh

This commit is contained in:
MarkusMcNugen 2018-04-26 03:24:16 -04:00 committed by GitHub
parent 47d542d9b5
commit d848b34b9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ for lan_network_item in "${lan_network_list[@]}"; do
# strip whitespace from start and end of lan_network_item
lan_network_item=$(echo "${lan_network_item}" | sed -e 's~^[ \t]*~~;s~[ \t]*$~~')
ip route add "${lan_network_item}" via "${DEFAULT_GATEWAY2}" dev ${interface}
ip route add $lan_network_item via "${DEFAULT_GATEWAY2}" dev ${interface}
fi
done