From 22f38e40b2467715848fda08e154dca1c7efe0b1 Mon Sep 17 00:00:00 2001 From: MarkusMcNugen Date: Fri, 14 Dec 2018 00:25:55 -0500 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 f66cb6e..cae9055 100644 --- a/qbittorrent/iptables.sh +++ b/qbittorrent/iptables.sh @@ -20,7 +20,7 @@ DEBUG=false # get default gateway of interfaces as looping through them DEFAULT_GATEWAY=$(ip -4 route list 0/0 | cut -d ' ' -f 3) -echo "[info] Default gateway defined as ${LAN_NETWORK}" | ts '%Y-%m-%d %H:%M:%.S' +echo "[info] Default gateway defined as ${DEFAULT_GATEWAY}" | ts '%Y-%m-%d %H:%M:%.S' # strip whitespace from start and end of lan_network_item export LAN_NETWORK=$(echo "${LAN_NETWORK}" | sed -e 's~^[ \t]*~~;s~[ \t]*$~~')