summaryrefslogtreecommitdiff
path: root/gen-interface-templates.pl
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-12-16 15:48:25 +0100
committerDaniil Baturin <daniil@baturin.org>2018-12-16 15:48:25 +0100
commit019154add51bbaf79de41105d627741897d3b839 (patch)
tree7e2fd7804b8f11d6da8fc0ce987317f27a3aa4c1 /gen-interface-templates.pl
parent152c7f8eefeea6d69b0b72ca1bb2e8345f66acd9 (diff)
downloadvyatta-cfg-firewall-019154add51bbaf79de41105d627741897d3b839.tar.gz
vyatta-cfg-firewall-019154add51bbaf79de41105d627741897d3b839.zip
T1087: add wireguard to interface template generators.
Diffstat (limited to 'gen-interface-templates.pl')
-rwxr-xr-xgen-interface-templates.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl
index 4451998..67a69c0 100755
--- a/gen-interface-templates.pl
+++ b/gen-interface-templates.pl
@@ -62,6 +62,7 @@ my %interface_hash = (
'wireless/node.tag' => '$VAR(../../../@)',
'wireless/node.tag/vif/node.tag' => '$VAR(../../../../@).$VAR(../../../@)',
'wirelessmodem/node.tag' => '$VAR(../../../@)',
+ 'wireguard/node.tag' => '$VAR(../../../@)',
);
# Firewall node hashes
@@ -92,6 +93,7 @@ my %firewall_hash = (
'wireless/node.tag' => 'wireless $VAR(../@)',
'wireless/node.tag/vif/node.tag' => 'wireless $VAR(../../../@) vif $VAR(../@)',
'wirelessmodem/node.tag' => 'wirelessmodem $VAR(../@)',
+ 'wireguard/node.tag' => 'wireless $VAR(../@)',
);
# Hash table to check if the priority needs to set @ root