fix bug in create host in dhcp
ogdhcp/pipeline/head This commit looks good
Details
ogdhcp/pipeline/head This commit looks good
Details
parent
602ac1613c
commit
731955a183
|
|
@ -1408,8 +1408,7 @@ public function addDhcpHost(Request $request, $subnetId): JsonResponse
|
||||||
$newHost = [
|
$newHost = [
|
||||||
"hostname" => $host,
|
"hostname" => $host,
|
||||||
"hw-address" => $macAddress,
|
"hw-address" => $macAddress,
|
||||||
"ip-address" => $address,
|
"ip-address" => $address
|
||||||
"boot-file-name" => $bootFileName
|
|
||||||
];
|
];
|
||||||
|
|
||||||
$subnetFound = false;
|
$subnetFound = false;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue