summaryrefslogtreecommitdiff
path: root/src/store/modules/Configuration/NetworkSettingsStore.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/store/modules/Configuration/NetworkSettingsStore.js')
-rw-r--r--src/store/modules/Configuration/NetworkSettingsStore.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/store/modules/Configuration/NetworkSettingsStore.js b/src/store/modules/Configuration/NetworkSettingsStore.js
index 9cdcd415..159c5bf6 100644
--- a/src/store/modules/Configuration/NetworkSettingsStore.js
+++ b/src/store/modules/Configuration/NetworkSettingsStore.js
@@ -82,6 +82,9 @@ const NetworkSettingsStore = {
const data = {
HostName: networkSettingsForm.hostname,
MACAddress: networkSettingsForm.macAddress,
+ DHCPv4: {
+ DHCPEnabled: networkSettingsForm.isDhcpEnabled,
+ },
};
// If DHCP disabled, update static DNS or static ipv4