summaryrefslogtreecommitdiff
path: root/templates/interfaces/l2tpv3
diff options
context:
space:
mode:
authortofoo <tofoo@olive.tofoo.sytes.net>2014-07-11 23:47:02 +0900
committertofoo <tofoo@olive.tofoo.sytes.net>2014-07-11 23:47:02 +0900
commit9c94b7796ac430a7800ea6b4965e399149c28eff (patch)
tree92200cf3519c04ec31722c1fc5e59ba5e55afdff /templates/interfaces/l2tpv3
parent2d1a8583e126c6ed6335a8e05db72502ceb0c7dd (diff)
downloadvyatta-cfg-system-9c94b7796ac430a7800ea6b4965e399149c28eff.tar.gz
vyatta-cfg-system-9c94b7796ac430a7800ea6b4965e399149c28eff.zip
Fix modprobe for l2tpv3 over ip
Diffstat (limited to 'templates/interfaces/l2tpv3')
-rw-r--r--templates/interfaces/l2tpv3/node.def2
1 files changed, 1 insertions, 1 deletions
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