diff options
Diffstat (limited to 'gen-interface-templates.pl')
-rwxr-xr-x | gen-interface-templates.pl | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl index 87f1151..a5a56f3 100755 --- a/gen-interface-templates.pl +++ b/gen-interface-templates.pl @@ -1,4 +1,25 @@ #!/usr/bin/perl +# +# **** License **** +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# This code was originally developed by Vyatta, Inc. +# Portions created by Vyatta are Copyright (C) 2009 Vyatta, Inc. +# All Rights Reserved. +# +# Author: Bob Gilligan +# Date: March 2009 +# Description: Script to automatically generate interface firewall templates +# +# **** End License **** +# my $debug = 0; @@ -12,12 +33,12 @@ my %interface_hash = ( 'bonding/node.tag' => '$VAR(../../../@)', 'bonding/node.tag/vif/node.tag' => - '$VAR(../../../../@).$VAR(../../../../@)', + '$VAR(../../../../@).$VAR(../../../@)', 'ethernet/node.tag' => '$VAR(../../../@)', 'ethernet/node.tag/pppoe/node.tag' => 'pppoe$VAR(../../../@)', 'ethernet/node.tag/vif/node.tag' => - '$VAR(../../../../@).$VAR(../../../../@)', + '$VAR(../../../../@).$VAR(../../../@)', 'ethernet/node.tag/vif/node.tag/pppoe/node.tag' => 'pppoe$VAR(../../../@)', |