From 29311407ef8120eebe9dafc299484b1e5abbd151 Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Fri, 12 Aug 2016 09:47:01 +0200 Subject: [PATCH] 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 --- net/xl2tpd/Makefile | 2 +- net/xl2tpd/files/l2tp.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/net/xl2tpd/Makefile b/net/xl2tpd/Makefile index 5cf83c5f27..ae5a41be02 100644 --- 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 PKG_LICENSE:=GPL-2.0 PKG_LICENSE_FILES:=LICENSE diff --git a/net/xl2tpd/files/l2tp.sh b/net/xl2tpd/files/l2tp.sh index 946973cd5b..38c80256bb 100644 --- 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() {