From: Hans Dedecker Date: Fri, 12 Aug 2016 07:47:01 +0000 (+0200) Subject: xl2tpd: Enable netifd notification teardown_on_l3_link_down X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=29311407ef8120eebe9dafc299484b1e5abbd151;p=openwrt-packages.git 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 --- diff --git a/net/xl2tpd/Makefile b/net/xl2tpd/Makefile index 5cf83c5f2..ae5a41be0 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 946973cd5..38c80256b 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() {