summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-12-16 15:59:27 +0100
committerDaniil Baturin <daniil@baturin.org>2018-12-16 15:59:27 +0100
commit83e483b9bea55cefc281fd417173427235b24a36 (patch)
treec2a881cbdb098d6214a6ca760e464ce546c48b2e
parent7be3368205b44ffb57342424a8ec54457e832156 (diff)
downloadvyatta-cfg-quagga-83e483b9bea55cefc281fd417173427235b24a36.tar.gz
vyatta-cfg-quagga-83e483b9bea55cefc281fd417173427235b24a36.zip
T1063: add wireguard to interface template generator.
-rw-r--r--debian/vyatta-cfg-quagga.install1
-rwxr-xr-xgen-interface-templates.pl1
2 files changed, 2 insertions, 0 deletions
diff --git a/debian/vyatta-cfg-quagga.install b/debian/vyatta-cfg-quagga.install
index b8b66da3..8bb25cc1 100644
--- a/debian/vyatta-cfg-quagga.install
+++ b/debian/vyatta-cfg-quagga.install
@@ -17,3 +17,4 @@ opt/vyatta/share/vyatta-cfg/templates/interfaces/wirelessmodem
opt/vyatta/share/vyatta-cfg/templates/interfaces/dummy
opt/vyatta/share/vyatta-cfg/templates/interfaces/l2tpv3
opt/vyatta/share/vyatta-cfg/templates/interfaces/vxlan
+opt/vyatta/share/vyatta-cfg/templates/interfaces/wireguard
diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl
index 6573937d..ef8c0a3a 100755
--- a/gen-interface-templates.pl
+++ b/gen-interface-templates.pl
@@ -54,6 +54,7 @@ my %interface_hash = (
'dummy/node.tag' => '$VAR(@)',
'l2tpv3/node.tag' => '$VAR(@)',
'vxlan/node.tag' => '$VAR(@)',
+ 'wireguard/node.tag' => '$VAR(@)',
);
# Hash table to check if the priority needs to set @ root