summaryrefslogtreecommitdiff
path: root/data/templates/dhcp-client/daemon-options.tmpl
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-04-08 18:54:44 +0300
committerGitHub <noreply@github.com>2022-04-08 18:54:44 +0300
commitf43031ec4591662fadee3176fe1ace2ac018a9df (patch)
tree9c96321f2432ee11db826a7051b4b5adefc030c5 /data/templates/dhcp-client/daemon-options.tmpl
parentb75b351b7dd2ec87407f98668468b1fc146428bf (diff)
parent2bf7589e926b3d5f2f7aee0f98505eeb14fc826d (diff)
downloadvyos-1x-f43031ec4591662fadee3176fe1ace2ac018a9df.tar.gz
vyos-1x-f43031ec4591662fadee3176fe1ace2ac018a9df.zip
Merge branch 'current' into T4344
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 }}"