aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
diff options
context:
space:
mode:
authorAnsuel Smith <ansuelsmth@gmail.com>2021-08-02 13:41:21 +0200
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>2021-08-12 20:00:31 +0100
commit0530c490ee0091cfb97de2aa209bbb73412cca6c (patch)
tree8e092ec9287d35273d6efc9e1b5a39425583db00 /package/network
parent8b7517465bee9815f43412fd4c280937d03a1258 (diff)
downloadupstream-0530c490ee0091cfb97de2aa209bbb73412cca6c.tar.gz
upstream-0530c490ee0091cfb97de2aa209bbb73412cca6c.tar.bz2
upstream-0530c490ee0091cfb97de2aa209bbb73412cca6c.zip
6in4: delete tunnel on interface teardown
Delete tunnel on 6in4 interface teardown. Should solve problem related to tunnel stuck on restart loop with "Unknown Command" on tunnel restart due to wan connection drop. Fixes: FS#3690 Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Diffstat (limited to 'package/network')
-rw-r--r--package/network/ipv6/6in4/Makefile2
-rwxr-xr-xpackage/network/ipv6/6in4/files/6in4.sh2
2 files changed, 3 insertions, 1 deletions
diff --git a/package/network/ipv6/6in4/Makefile b/package/network/ipv6/6in4/Makefile
index 08696ef7a8..331295ba7a 100644
--- a/package/network/ipv6/6in4/Makefile
+++ b/package/network/ipv6/6in4/Makefile
@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=6in4
-PKG_RELEASE:=26
+PKG_RELEASE:=27
PKG_LICENSE:=GPL-2.0
include $(INCLUDE_DIR)/package.mk
diff --git a/package/network/ipv6/6in4/files/6in4.sh b/package/network/ipv6/6in4/files/6in4.sh
index 5b5c7b36af..d0904952fd 100755
--- a/package/network/ipv6/6in4/files/6in4.sh
+++ b/package/network/ipv6/6in4/files/6in4.sh
@@ -138,6 +138,8 @@ proto_6in4_setup() {
proto_6in4_teardown() {
local cfg="$1"
+ local link="6in4-$cfg"
+ ip link del $link
}
proto_6in4_init_config() {