correctly enable dhcp4 when configuring a ssid for a wlan interface
This commit is contained in:
parent
acd6ee0032
commit
7236771d2f
|
@ -151,7 +151,7 @@ class NetworkConfigureWLANStretchy(Stretchy):
|
|||
if self.device.configured_ssid[0] is None and self.form.ssid.value:
|
||||
# Turn DHCP4 on by default when specifying an SSID for
|
||||
# the first time...
|
||||
self.device.dhcp4 = True
|
||||
self.device.config['dhcp4'] = True
|
||||
if self.form.ssid.value:
|
||||
ssid = self.form.ssid.value
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue