Skip to content

Commit

Permalink
6in4: delete tunnel on interface teardown
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ansuel authored and ldir-EDB0 committed Aug 12, 2021
1 parent 8b75174 commit 0530c49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package/network/ipv6/6in4/Makefile
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions package/network/ipv6/6in4/files/6in4.sh
Expand Up @@ -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() {
Expand Down

0 comments on commit 0530c49

Please sign in to comment.