summaryrefslogtreecommitdiff
path: root/gen-interface-templates.pl
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-12-02 11:24:49 -0800
committerJohn Southworth <john.southworth@vyatta.com>2011-12-02 11:24:49 -0800
commit9be918ffd8e2e81493a3563a874493be29b8d6fa (patch)
treea6a5896c43c7699dfc061cbed0c41a309f5a3ce3 /gen-interface-templates.pl
parenteeebd45884c99262a21275b63e5f9f78ec905f95 (diff)
downloadvyatta-cfg-firewall-9be918ffd8e2e81493a3563a874493be29b8d6fa.tar.gz
vyatta-cfg-firewall-9be918ffd8e2e81493a3563a874493be29b8d6fa.zip
Add vrrp interface parameters for bonding vifs
Diffstat (limited to 'gen-interface-templates.pl')
-rwxr-xr-xgen-interface-templates.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl
index 1d17225..1d41fa3 100755
--- a/gen-interface-templates.pl
+++ b/gen-interface-templates.pl
@@ -41,8 +41,10 @@ my %interface_hash = (
'adsl/node.tag/pvc/node.tag/pppoe/node.tag' => 'pppoe$VAR(../../../@)',
'bonding/node.tag' => '$VAR(../../../@)',
- 'bonding/node.tag/vif/node.tag' => '$VAR(../../../../@).$VAR(../../../@)',
'bonding/node.tag/vrrp/vrrp-group/node.tag/interface' => '$VAR(../../../../../../@)v$VAR(../../../../@)',
+ 'bonding/node.tag/vif/node.tag' => '$VAR(../../../../@).$VAR(../../../@)',
+ 'bonding/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/interface' =>
+ '$VAR(../../../../../../../@).$VAR(../../../../../../@)v$VAR(../../../../@)',
'ethernet/node.tag' => '$VAR(../../../@)',
'ethernet/node.tag/pppoe/node.tag' => 'pppoe$VAR(../../../@)',