summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-12-16 16:05:02 +0100
committerDaniil Baturin <daniil@baturin.org>2018-12-16 16:05:02 +0100
commit9e03aa762bac9919db2dae774062b179f9478b70 (patch)
tree3a619615e26058a05f009c69eef719fe1f1779d1
parentce5f972dee9f92cd4d79fc8ffb3e169e9164757f (diff)
downloadvyatta-cfg-qos-9e03aa762bac9919db2dae774062b179f9478b70.tar.gz
vyatta-cfg-qos-9e03aa762bac9919db2dae774062b179f9478b70.zip
T1063: add wireguard to interface template generator.
-rw-r--r--debian/vyatta-cfg-qos.install1
-rwxr-xr-xgen-interface-templates.pl1
2 files changed, 2 insertions, 0 deletions
diff --git a/debian/vyatta-cfg-qos.install b/debian/vyatta-cfg-qos.install
index 5735223..48114e0 100644
--- a/debian/vyatta-cfg-qos.install
+++ b/debian/vyatta-cfg-qos.install
@@ -16,3 +16,4 @@ opt/vyatta/share/vyatta-cfg/templates/interfaces/tunnel
opt/vyatta/share/vyatta-cfg/templates/interfaces/vti
opt/vyatta/share/vyatta-cfg/templates/interfaces/wireless
opt/vyatta/share/vyatta-cfg/templates/interfaces/wirelessmodem
+opt/vyatta/share/vyatta-cfg/templates/interfaces/wireguard
diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl
index 7aee2ea..ae4492c 100755
--- a/gen-interface-templates.pl
+++ b/gen-interface-templates.pl
@@ -55,6 +55,7 @@ my %interface_hash = (
'wirelessmodem/node.tag' => '$VAR(@)',
'wireless/node.tag' => '$VAR(@)',
'wireless/node.tag/vif/node.tag' => '$VAR(../@).$VAR(@)',
+ 'wireguard/node.tag' => '$VAR(@)'
);
# Hash table to check if the priority needs to set @ root