summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/vyatta-cfg-firewall.install1
-rwxr-xr-xgen-interface-templates.pl3
2 files changed, 4 insertions, 0 deletions
diff --git a/debian/vyatta-cfg-firewall.install b/debian/vyatta-cfg-firewall.install
index b29f443..fe5610d 100644
--- a/debian/vyatta-cfg-firewall.install
+++ b/debian/vyatta-cfg-firewall.install
@@ -14,3 +14,4 @@ opt/vyatta/share/vyatta-cfg/templates/interfaces/tunnel
opt/vyatta/share/vyatta-cfg/templates/interfaces/vti
opt/vyatta/share/vyatta-cfg/templates/interfaces/wireless
opt/vyatta/share/vyatta-cfg/templates/interfaces/wirelessmodem
+opt/vyatta/share/vyatta-cfg/templates/interfaces/l2tpv3
diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl
index d22ab8a..3addf4d 100755
--- a/gen-interface-templates.pl
+++ b/gen-interface-templates.pl
@@ -59,6 +59,8 @@ my %interface_hash = (
'bridge/node.tag' => '$VAR(../../../@)',
'openvpn/node.tag' => '$VAR(../../../@)',
+ 'l2tpv3/node.tag' => '$VAR(../../../@)',
+
'multilink/node.tag/vif/node.tag' => '$VAR(../../../../@)',
'serial/node.tag/cisco-hdlc/vif/node.tag' =>
@@ -98,6 +100,7 @@ my %firewall_hash = (
'wireless/node.tag' => 'wireless $VAR(../@)',
'wireless/node.tag/vif/node.tag' => 'wireless $VAR(../../../@) vif $VAR(../@)',
'wirelessmodem/node.tag' => 'wirelessmodem $VAR(../@)',
+ 'l2tpv3/node.tag' => 'l2tpv3 $VAR(../@)'
);
# Hash table to check if the priority needs to set @ root