From c01d973aa45f891e5dc70755135297891a105bea Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 10 Apr 2019 17:08:49 +0200 Subject: [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) --- src/conf_mode/dhcp_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 %} -- cgit v1.2.3