diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-04-10 17:08:49 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-04-10 17:10:47 +0200 |
commit | c01d973aa45f891e5dc70755135297891a105bea (patch) | |
tree | 9e4f2f3eacb2a995b3d903ed2ecffdebaf1caac9 | |
parent | 6479b66983b08b26cc842523435fda096f8ccf94 (diff) | |
download | vyos-1x-c01d973aa45f891e5dc70755135297891a105bea.tar.gz vyos-1x-c01d973aa45f891e5dc70755135297891a105bea.zip |
[dhcp] T1330: bugfix for non working wpad url
WPAD url could be configured by CLI but the generated config was not
understood by ISC dhcp - caused by infalid if {} statement resulting in
a missing option wpad-url block.
(cherry picked from commit bfa9d55e9f1c3a091cff2fc214f2587d9b049cdb)
-rwxr-xr-x | src/conf_mode/dhcp_server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/dhcp_server.py b/src/conf_mode/dhcp_server.py index bbe0bf28a..239c44076 100755 --- a/src/conf_mode/dhcp_server.py +++ b/src/conf_mode/dhcp_server.py @@ -66,7 +66,7 @@ ddns-update-style {% if ddns_enable -%} interim {%- else -%} none {%- endif %}; option rfc3442-static-route code 121 = array of integer 8; option windows-static-route code 249 = array of integer 8; {%- endif %} -{% if static_route -%} +{% if wpad -%} option wpad-url code 252 = text; {% endif %} |