Static ip backend now takes ipv4 not ip property
This commit is contained in:
@@ -36,7 +36,7 @@ app.controller('SetupDNSController', ['$scope', '$http', '$timeout', 'Client', f
|
||||
|
||||
$scope.sysinfo = {
|
||||
provider: 'generic',
|
||||
ip: '',
|
||||
ipv4: '',
|
||||
ifname: ''
|
||||
};
|
||||
|
||||
@@ -223,7 +223,7 @@ app.controller('SetupDNSController', ['$scope', '$http', '$timeout', 'Client', f
|
||||
provider: $scope.sysinfo.provider
|
||||
};
|
||||
if ($scope.sysinfo.provider === 'fixed') {
|
||||
sysinfoConfig.ip = $scope.sysinfo.ip;
|
||||
sysinfoConfig.ipv4 = $scope.sysinfo.ipv4;
|
||||
} else if ($scope.sysinfo.provider === 'network-interface') {
|
||||
sysinfoConfig.ifname = $scope.sysinfo.ifname;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user