summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2014-04-06 03:19:57 -0700
committerDaniil Baturin <daniil@baturin.org>2014-04-06 03:19:57 -0700
commit97ffb2d3bfed50180dcb6c143b4c5d42331ab3ef (patch)
tree75e8531825006ceb410f4c874a8ef86d209af3c1
parentf4cf287396aff5971107112c733296a7cf8cb768 (diff)
downloadvyatta-cfg-quagga-97ffb2d3bfed50180dcb6c143b4c5d42331ab3ef.tar.gz
vyatta-cfg-quagga-97ffb2d3bfed50180dcb6c143b4c5d42331ab3ef.zip
Bug #159: add dummy interfaces 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 eabb7e56..34ba388f 100644
--- a/debian/vyatta-cfg-quagga.install
+++ b/debian/vyatta-cfg-quagga.install
@@ -14,3 +14,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/dummy
diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl
index 48220321..9bb7e2e8 100755
--- a/gen-interface-templates.pl
+++ b/gen-interface-templates.pl
@@ -46,6 +46,7 @@ my %interface_hash = (
'openvpn/node.tag' => '$VAR(@)',
'wirelessmodem/node.tag' => '$VAR(@)',
'multilink/node.tag/vif/node.tag' => '$VAR(../@)',
+ 'dummy/node.tag' => '$VAR(@)',
'adsl/node.tag/pvc/node.tag/bridged-ethernet' => '$VAR(../../@)',
'adsl/node.tag/pvc/node.tag/classical-ipoa' => '$VAR(../../@)',