From 9c94b7796ac430a7800ea6b4965e399149c28eff Mon Sep 17 00:00:00 2001 From: tofoo Date: Fri, 11 Jul 2014 23:47:02 +0900 Subject: Fix modprobe for l2tpv3 over ip --- templates/interfaces/l2tpv3/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/interfaces/l2tpv3/node.def b/templates/interfaces/l2tpv3/node.def index de12448e..e2a6f24e 100644 --- a/templates/interfaces/l2tpv3/node.def +++ b/templates/interfaces/l2tpv3/node.def @@ -22,7 +22,7 @@ commit:expression: $VAR(./peer-session-id/) != "" ; \ begin: [ -d /sys/module/l2tp_eth ] || sudo modprobe l2tp_eth [ -d /sys/module/l2tp_netlink ] || sudo modprobe l2tp_netlink - if [ "$VAR(./encap/@)" = "ip" ] && [ ! -d /sys/module/l2tp_ip ] ; then + if [ "$VAR(./encapsulation/@)" = "ip" ] && [ ! -d /sys/module/l2tp_ip ] ; then sudo modprobe l2tp_ip fi -- cgit v1.2.3