diff options
author | Yuxiang Zhu <vfreex@gmail.com> | 2021-09-24 12:17:52 +0000 |
---|---|---|
committer | Yuxiang Zhu <vfreex@gmail.com> | 2021-09-24 12:22:49 +0000 |
commit | bd745e55263d62ae0c9d08f4d743d5be19b0408d (patch) | |
tree | 70067cb16cfd07364b1d031e827e2fcee750c8f7 | |
parent | d2b6b411e50a8521a00b4e8380589117d6d83d59 (diff) | |
download | vyatta-cfg-firewall-bd745e55263d62ae0c9d08f4d743d5be19b0408d.tar.gz vyatta-cfg-firewall-bd745e55263d62ae0c9d08f4d743d5be19b0408d.zip |
T3115: Add firewall options for bridge vifs
-rwxr-xr-x | gen-interface-policy-templates.pl | 1 | ||||
-rwxr-xr-x | gen-interface-templates.pl | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/gen-interface-policy-templates.pl b/gen-interface-policy-templates.pl index 7d95559..e744c39 100755 --- a/gen-interface-policy-templates.pl +++ b/gen-interface-policy-templates.pl @@ -41,6 +41,7 @@ my %interface_hash = ( 'bonding/node.tag/vif-s/node.tag/vif-c/node.tag' => '$VAR(../../../../@).$VAR(../../../@).$VAR(../../@)', 'bonding/node.tag/vif/node.tag' => '$VAR(../../../@).$VAR(../../@)', 'bridge/node.tag' => '$VAR(../../@)', + 'bridge/node.tag/vif/node.tag' => '$VAR(../../../@).$VAR(../../@)', 'dummy/node.tag' => '$VAR(../../@)', 'ethernet/node.tag' => '$VAR(../../@)', 'ethernet/node.tag/vif-s/node.tag' => '$VAR(../../../@).$VAR(../../@)', diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl index 8b33516..8b9bb58 100755 --- a/gen-interface-templates.pl +++ b/gen-interface-templates.pl @@ -41,6 +41,7 @@ my %interface_hash = ( 'bonding/node.tag/vif-s/node.tag/vif-c/node.tag' => '$VAR(../../../../../@).$VAR(../../../../@).$VAR(../../../@)', 'bonding/node.tag/vif/node.tag' => '$VAR(../../../../@).$VAR(../../../@)', 'bridge/node.tag' => '$VAR(../../../@)', + 'bridge/node.tag/vif/node.tag' => '$VAR(../../../../@).$VAR(../../../@)', 'dummy/node.tag' => '$VAR(../../../@)', 'ethernet/node.tag' => '$VAR(../../../@)', 'ethernet/node.tag/vif-s/node.tag' => '$VAR(../../../../@).$VAR(../../../@)', @@ -72,6 +73,7 @@ my %firewall_hash = ( 'bonding/node.tag/vif-s/node.tag/vif-c/node.tag' => 'bonding $VAR(../../../../@) vif-s $VAR(../../@) vif-c $VAR(../@)', 'bonding/node.tag/vif/node.tag' => 'bonding $VAR(../../../@) vif $VAR(../@)', 'bridge/node.tag' => 'bridge $VAR(../@)', + 'bridge/node.tag/vif/node.tag' => 'bonding $VAR(../../../@) vif $VAR(../@)', 'dummy/node.tag' => 'dummy $VAR(../@)', 'ethernet/node.tag' => 'ethernet $VAR(../@)', 'ethernet/node.tag/vif-s/node.tag' => 'ethernet $VAR(../../../@) vif-s $VAR(../@)', |