commit 29311407ef8120eebe9dafc299484b1e5abbd151
parent 4bb3b827822e2cf226dc8e49f91f03266fe23e13
Author: Hans Dedecker <dedeckeh@gmail.com>
Date: Fri, 12 Aug 2016 09:47:01 +0200
xl2tpd: Enable netifd notification teardown_on_l3_link_down
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>
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/net/xl2tpd/Makefile b/net/xl2tpd/Makefile
@@ -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
diff --git a/net/xl2tpd/files/l2tp.sh b/net/xl2tpd/files/l2tp.sh
@@ -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() {