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>
This commit is contained in:
Hans Dedecker 2016-08-12 09:47:01 +02:00
parent 4bb3b82782
commit 29311407ef
2 changed files with 2 additions and 1 deletions

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=xl2tpd PKG_NAME:=xl2tpd
PKG_VERSION:=devel-20151125 PKG_VERSION:=devel-20151125
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com> PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
PKG_LICENSE:=GPL-2.0 PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=LICENSE PKG_LICENSE_FILES:=LICENSE

View file

@ -21,6 +21,7 @@ proto_l2tp_init_config() {
available=1 available=1
no_device=1 no_device=1
no_proto_task=1 no_proto_task=1
teardown_on_l3_link_down=1
} }
proto_l2tp_setup() { proto_l2tp_setup() {