projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
6in4: delete tunnel on interface teardown
[openwrt/openwrt.git]
/
package
/
network
/
ipv6
/
6in4
/
files
/
6in4.sh
diff --git
a/package/network/ipv6/6in4/files/6in4.sh
b/package/network/ipv6/6in4/files/6in4.sh
index 5b5c7b36af9cd18732a6958ec28d21dc37885137..d0904952fdf316c7106bf9146160d16971e62619 100755
(executable)
--- 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() {