xl2tpd: Enable netifd notification teardown_on_l3_link_down 3049/head
authorHans Dedecker <dedeckeh@gmail.com>
Fri, 12 Aug 2016 07:47:01 +0000 (09:47 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Fri, 12 Aug 2016 07:47:01 +0000 (09:47 +0200)
Set teardown_on_l3_link_down notifying netifd xl2tpd wants to be
teared down when layer3 link loss is detected

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
net/xl2tpd/Makefile
net/xl2tpd/files/l2tp.sh

index 5cf83c5f27641918063a56ab29648790d4ec94ce..ae5a41be029c2acac42dd7148b7878e1990076cd 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=xl2tpd
 PKG_VERSION:=devel-20151125
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
 PKG_LICENSE:=GPL-2.0
 PKG_LICENSE_FILES:=LICENSE
index 946973cd5b5e0a71444be00d9b86f0ff96616935..38c80256bbf7a4a14eec0b2fbbacac9064ecd6d4 100644 (file)
@@ -21,6 +21,7 @@ proto_l2tp_init_config() {
        available=1
        no_device=1
        no_proto_task=1
+       teardown_on_l3_link_down=1
 }
 
 proto_l2tp_setup() {