diff options
author | Daniil Baturin <daniil@baturin.org> | 2018-12-16 15:48:25 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2018-12-16 15:48:25 +0100 |
commit | 019154add51bbaf79de41105d627741897d3b839 (patch) | |
tree | 7e2fd7804b8f11d6da8fc0ce987317f27a3aa4c1 /gen-interface-templates.pl | |
parent | 152c7f8eefeea6d69b0b72ca1bb2e8345f66acd9 (diff) | |
download | vyatta-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-x | gen-interface-templates.pl | 2 |
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 |