summaryrefslogtreecommitdiff
path: root/gen-interface-templates.pl
diff options
context:
space:
mode:
authorKim Hagen <khagen@multi-development.com>2014-06-26 14:43:01 +0200
committerKim Hagen <khagen@multi-development.com>2014-06-26 14:43:01 +0200
commit004f92bd2f2f6c7699e43b337cbc3ea91c1a7fa8 (patch)
tree894146f97b0a9a6a6d31ebbb1ce82e5281e75134 /gen-interface-templates.pl
parentc5502338d5ca3bea1f66950b377eb4551907b5b7 (diff)
downloadvyatta-cfg-firewall-004f92bd2f2f6c7699e43b337cbc3ea91c1a7fa8.tar.gz
vyatta-cfg-firewall-004f92bd2f2f6c7699e43b337cbc3ea91c1a7fa8.zip
Add QinQ to interfaces in template generators node hashes.
Diffstat (limited to 'gen-interface-templates.pl')
-rwxr-xr-xgen-interface-templates.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl
index ef2c00f..82e11fb 100755
--- a/gen-interface-templates.pl
+++ b/gen-interface-templates.pl
@@ -84,17 +84,21 @@ my %firewall_hash = (
'adsl/node.tag/pvc/node.tag/pppoe/node.tag' => 'adsl $VAR(../../../@) pvc $VAR(../../@) pppoe $VAR(../@)',
'bonding/node.tag' => 'bonding $VAR(../@)',
'bonding/node.tag/vif/node.tag' => 'bonding $VAR(../../../@) vif $VAR(../@)',
+ 'bonding/node.tag/vif/node.tag/vif/node.tag' => 'bonding $VAR(../../../../@) vif $VAR(../../@) vif $VAR(../@)',
'bridge/node.tag' => 'bridge $VAR(../@)',
'ethernet/node.tag' => 'ethernet $VAR(../@)',
'ethernet/node.tag/pppoa/node.tag' => 'ethernet $VAR(../../@) pppoa $VAR(../@)',
'ethernet/node.tag/pppoe/node.tag' => 'ethernet $VAR(../../@) pppoe $VAR(../@)',
'ethernet/node.tag/vif/node.tag' => 'ethernet $VAR(../../../@) vif $VAR(../@)',
+ 'ethernet/node.tag/vif/node.tag/vif/node.tag' => 'ethernet $VAR(../../../../@) vif $VAR(../../@) vif $VAR(../@)',
'ethernet/node.tag/vif/node.tag/pppoe/node.tag' => 'ethernet $VAR(../../../../@) vif $VAR(../../@) pppoe $VAR(../@)',
+ 'ethernet/node.tag/vif/node.tag/vif/node.tag/pppoe/node.tag' => 'ethernet $VAR(../../../../../@) vif $VAR(../../../@)vif $VAR(../../@) pppoe $VAR(../@)',
'input/node.tag' => 'input $VAR(../@)',
'multilink/node.tag/vif/node.tag' => 'multilink $VAR(../../../@) vif $VAR(../@)',
'openvpn/node.tag' => 'openvpn $VAR(../@)',
'pseudo-ethernet/node.tag' => 'pseudo-ethernet $VAR(../@)',
'pseudo-ethernet/node.tag/vif/node.tag' => 'pseudo-ethernet $VAR(../../../@) vif $VAR(../@)',
+ 'pseudo-ethernet/node.tag/vif/node.tag/vif/node.tag' => 'pseudo-ethernet $VAR(../../../../@) vif $VAR(../../@) vif $VAR(../@)',
'serial/node.tag/cisco-hdlc/vif/node.tag' => 'serial $VAR(../../../@) cisco-hdlc vif $VAR(../@)',
'serial/node.tag/frame-relay/vif/node.tag' => 'serial $VAR(../../../@) frame-relay vif $VAR(../@)',
'serial/node.tag/ppp/vif/node.tag' => 'serial $VAR(../../../@) ppp vif $VAR(../@)',