summaryrefslogtreecommitdiff
path: root/gen-interface-templates.pl
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2014-04-06 15:47:41 +0200
committerDaniil Baturin <daniil@baturin.org>2014-04-06 15:47:41 +0200
commitbf7dadcc54a10f007cc231af3a2a96e684961da1 (patch)
treec094837701fdd517bd7bdbbd0c73a3860017f98c /gen-interface-templates.pl
parentdc16009e16929091ab8833cf8c4822587fe1fad9 (diff)
downloadvyatta-cfg-firewall-bf7dadcc54a10f007cc231af3a2a96e684961da1.tar.gz
vyatta-cfg-firewall-bf7dadcc54a10f007cc231af3a2a96e684961da1.zip
Bug #170: add L2TPv3 interface type to firewall templates generator.
Diffstat (limited to 'gen-interface-templates.pl')
-rwxr-xr-xgen-interface-templates.pl3
1 files changed, 3 insertions, 0 deletions
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