setup/restore: fix error with static ip configuration

This commit is contained in:
Girish Ramakrishnan
2023-11-18 17:53:53 +01:00
parent efd42b7293
commit 8459d231c2
2 changed files with 2 additions and 2 deletions

View File

@@ -252,7 +252,7 @@ app.controller('SetupDNSController', ['$scope', '$http', '$timeout', 'Client', f
provider: $scope.sysinfo.provider
};
if ($scope.sysinfo.provider === 'fixed') {
sysinfoConfig.ipv4 = $scope.sysinfo.ipv4;
sysinfoConfig.ip = $scope.sysinfo.ipv4;
} else if ($scope.sysinfo.provider === 'network-interface') {
sysinfoConfig.ifname = $scope.sysinfo.ifname;
}