Fixed DHCP UseNTPServers Property Patch
DHCP property UseNTPServers is not working and its value is not getting reflected in backend.
It always remains enabled irrespective on enable or disable on GUI.
- Fixed the incorrect patch on the saveNtpState action.
Signed-off-by: Kenneth Fullbright <kennyneedsmilky@gmail.com>
Change-Id: Id0b7240e38f68bea8e98694bdcbe4e36e723bbcb
diff --git a/src/store/modules/Settings/NetworkStore.js b/src/store/modules/Settings/NetworkStore.js
index 54fb3e0..125eca7 100644
--- a/src/store/modules/Settings/NetworkStore.js
+++ b/src/store/modules/Settings/NetworkStore.js
@@ -149,7 +149,7 @@
commit('setNtpState', ntpState);
const data = {
DHCPv4: {
- UseDNSServers: ntpState,
+ UseNTPServers: ntpState,
},
};
// Saving to the first interface automatically updates DHCPv4 and DHCPv6