summaryrefslogtreecommitdiff
path: root/gen-interface-templates.pl
diff options
context:
space:
mode:
authorKim Hagen <khagen@multi-development.com>2014-07-01 14:43:10 +0200
committerKim Hagen <khagen@multi-development.com>2014-07-01 14:43:10 +0200
commit5c38ff57d43c00f71bc38c845acb8bde553f67c1 (patch)
tree3cf7dcee5a10df99a6222fac162156cd8fd881df /gen-interface-templates.pl
parentd3c2fb0ebeb2a945ac76d724ff532f5b9cb01bf5 (diff)
downloadvyatta-cfg-system-5c38ff57d43c00f71bc38c845acb8bde553f67c1.tar.gz
vyatta-cfg-system-5c38ff57d43c00f71bc38c845acb8bde553f67c1.zip
Fix build errors due to interface prio in perl script.
Diffstat (limited to 'gen-interface-templates.pl')
-rwxr-xr-xgen-interface-templates.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl
index 6cb57a07..4118ff1c 100755
--- a/gen-interface-templates.pl
+++ b/gen-interface-templates.pl
@@ -46,6 +46,9 @@ my %interface_hash = (
# Hash table to check if the priority needs to set @ root
# of the node.def which is generated.
+my %interface_prio = (
+ 'vti/node.tag' => '901',
+);
sub gen_template {
my ( $inpath, $outpath, $ifname, $gen_prio, $prio, $depth ) = @_;