From bf7dadcc54a10f007cc231af3a2a96e684961da1 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Sun, 6 Apr 2014 15:47:41 +0200 Subject: Bug #170: add L2TPv3 interface type to firewall templates generator. --- debian/vyatta-cfg-firewall.install | 1 + gen-interface-templates.pl | 3 +++ 2 files changed, 4 insertions(+) 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 -- cgit v1.2.3