mwan3: fix whitespace issue
authorFlorian Eckert <fe@dev.tdt.de>
Mon, 27 Apr 2020 15:55:23 +0000 (17:55 +0200)
committerFlorian Eckert <Eckert.Florian@googlemail.com>
Tue, 28 Apr 2020 15:10:32 +0000 (17:10 +0200)
fixes #11965

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 3c34b151f649d243126240298d4f51c7e2dd7939)

net/mwan3/Makefile
net/mwan3/files/usr/sbin/mwan3track

index c5d870cbac37604e893c169c6b766cf44c271053..67a1a58f4bf3ac8099c48869380d9948a067fa3a 100644 (file)
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mwan3
-PKG_VERSION:=2.8.3
+PKG_VERSION:=2.8.4
 PKG_RELEASE:=2
 PKG_MAINTAINER:=Florian Eckert <fe@dev.tdt.de>
 PKG_LICENSE:=GPL-2.0
index 2485d9c7377f375c8fa32170c52dab3ab204c891..d60760f3c51a7ccb5fc06df327d121abeacbdf6b 100755 (executable)
@@ -134,9 +134,9 @@ main() {
                                        ping)
                                                # pinging IPv6 hosts with an interface is troublesome
                                                # https://bugs.openwrt.org/index.php?do=details&task_id=2897
-                                               # so get the IP address of the interface and use that instead                              
+                                               # so get the IP address of the interface and use that instead
                                                if echo $track_ip | grep -q ':'; then
-                                                    ADDR=$(ip -6 addr ls dev "$DEVICE" | sed -ne 's/ *inet6 \([^ \/]*\).* scope global.*/\1/p')
+                                                       ADDR=$(ip -6 addr ls dev "$DEVICE" | sed -ne 's/ *inet6 \([^ \/]*\).* scope global.*/\1/p')
                                                fi
                                                if [ $check_quality -eq 0 ]; then
                                                        ping -I ${ADDR:-$DEVICE} -c $count -W $timeout -s $size -t $max_ttl -q $track_ip &> /dev/null