summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-11-29 16:53:15 +0100
committerGitHub <noreply@github.com>2021-11-29 16:53:15 +0100
commit289e4194f0b2c6bffbddd9c0a09c3331a529d1f2 (patch)
treeec22b6f4c865312c7394c36a740a28bd76a919a2 /data
parentb675c8b6187c4b77759e3f96c9c92dd382dabeae (diff)
parent725074edddbd8532d6af6f2e42583fe8a10e8eea (diff)
downloadvyos-1x-289e4194f0b2c6bffbddd9c0a09c3331a529d1f2.tar.gz
vyos-1x-289e4194f0b2c6bffbddd9c0a09c3331a529d1f2.zip
Merge pull request #1076 from DmitriyEshenko/current-22112021-01
tftp: T4012: Add TFTP VRF support
Diffstat (limited to 'data')
-rw-r--r--data/templates/tftp-server/default.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/data/templates/tftp-server/default.tmpl b/data/templates/tftp-server/default.tmpl
index 6b2d6a903..a7edf60ad 100644
--- a/data/templates/tftp-server/default.tmpl
+++ b/data/templates/tftp-server/default.tmpl
@@ -1,2 +1,7 @@
### Autogenerated by tftp_server.py ###
DAEMON_ARGS="--listen --user tftp --address {{ listen_address }} {{ "--create --umask 000" if allow_upload is defined }} --secure {{ directory }}"
+{% if vrf is defined %}
+VRF_ARGS="ip vrf exec {{ vrf }}"
+{% else %}
+VRF_ARGS=""
+{% endif %}