summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces-l2tpv3.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/interfaces-l2tpv3.xml.in')
-rw-r--r--interface-definitions/interfaces-l2tpv3.xml.in11
1 files changed, 9 insertions, 2 deletions
diff --git a/interface-definitions/interfaces-l2tpv3.xml.in b/interface-definitions/interfaces-l2tpv3.xml.in
index a408e58c1..30dd9b604 100644
--- a/interface-definitions/interfaces-l2tpv3.xml.in
+++ b/interface-definitions/interfaces-l2tpv3.xml.in
@@ -5,9 +5,9 @@
<tagNode name="l2tpv3" owner="${vyos_conf_scripts_dir}/interfaces-l2tpv3.py">
<properties>
<help>Layer 2 Tunnel Protocol Version 3 (L2TPv3) Interface</help>
- <priority>800</priority>
+ <priority>485</priority>
<constraint>
- <regex>l2tpeth[0-9]+$</regex>
+ <regex>^l2tpeth[0-9]+$</regex>
</constraint>
<constraintErrorMessage>L2TPv3 interface must be named l2tpethN</constraintErrorMessage>
<valueHelp>
@@ -51,6 +51,13 @@
<constraintErrorMessage>Encapsulation must be UDP or IP</constraintErrorMessage>
</properties>
</leafNode>
+ <node name="ipv6">
+ <children>
+ #include <include/ipv6-address.xml.i>
+ #include <include/ipv6-disable-forwarding.xml.i>
+ #include <include/ipv6-dup-addr-detect-transmits.xml.i>
+ </children>
+ </node>
<leafNode name="local-ip">
<properties>
<help>Local IP address for L2TPv3 tunnel</help>