From d848b34b9aead0deb9ceabb9badf8532339e382c Mon Sep 17 00:00:00 2001 From: MarkusMcNugen Date: Thu, 26 Apr 2018 03:24:16 -0400 Subject: [PATCH] Update iptables.sh --- qbittorrent/iptables.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbittorrent/iptables.sh b/qbittorrent/iptables.sh index 2a7ae34..e8c89e7 100644 --- a/qbittorrent/iptables.sh +++ b/qbittorrent/iptables.sh @@ -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