summaryrefslogtreecommitdiff
path: root/data/templates/dhcp-client/daemon-options.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-08 14:48:17 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-08 14:48:17 +0200
commit654dbc9aa3b0d27ec4f3faefff6cbd85fc3e1d1a (patch)
tree45700682fc803d6fba0fd38cbc064d27e9f2cd89 /data/templates/dhcp-client/daemon-options.tmpl
parentd8f778456761124683443400a9182a39714268f4 (diff)
downloadvyos-1x-654dbc9aa3b0d27ec4f3faefff6cbd85fc3e1d1a.tar.gz
vyos-1x-654dbc9aa3b0d27ec4f3faefff6cbd85fc3e1d1a.zip
dhcp(v6): T4333: migrate to new vyos_defined Jinja2 test
Diffstat (limited to 'data/templates/dhcp-client/daemon-options.tmpl')
-rw-r--r--data/templates/dhcp-client/daemon-options.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/dhcp-client/daemon-options.tmpl b/data/templates/dhcp-client/daemon-options.tmpl
index 40629dca1..5b3bff73f 100644
--- a/data/templates/dhcp-client/daemon-options.tmpl
+++ b/data/templates/dhcp-client/daemon-options.tmpl
@@ -1,4 +1,4 @@
### Autogenerated by interface.py ###
-DHCLIENT_OPTS="-nw -cf /var/lib/dhcp/dhclient_{{ifname}}.conf -pf /var/lib/dhcp/dhclient_{{ifname}}.pid -lf /var/lib/dhcp/dhclient_{{ifname}}.leases{{" -e IF_METRIC=" ~ dhcp_options.default_route_distance if dhcp_options.default_route_distance is defined and dhcp_options.default_route_distance is not none}} {{ifname}}"
+DHCLIENT_OPTS="-nw -cf /var/lib/dhcp/dhclient_{{ ifname }}.conf -pf /var/lib/dhcp/dhclient_{{ ifname }}.pid -lf /var/lib/dhcp/dhclient_{{ ifname }}.leases{{" -e IF_METRIC=" ~ dhcp_options.default_route_distance if dhcp_options.default_route_distance is vyos_defined }} {{ ifname }}"