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:04 +0200 |
commit | b294382d8f8ce0efe0cdacae575ce4adccbd6eaa (patch) | |
tree | df1be5994653cc2700ae4f73dc15cde29619eed1 /src/conf_mode/dhcp_server.py | |
parent | 40c342f3a84a75acc9f41c83cb735e966da7c47e (diff) | |
download | vyos-1x-b294382d8f8ce0efe0cdacae575ce4adccbd6eaa.tar.gz vyos-1x-b294382d8f8ce0efe0cdacae575ce4adccbd6eaa.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 code 252 = text;" block.
Diffstat (limited to 'src/conf_mode/dhcp_server.py')
-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 e57bad28b..e8ac1742f 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 %} |