|
@@ -83,11 +83,15 @@ EOT
|
|
|
$method = HttpRequestInterface::METHOD_PUT;
|
|
|
}
|
|
|
|
|
|
- $result = $webservice->makeGetRequest($this->getUrlParameter($method, $host), $method, [
|
|
|
+ $data = [
|
|
|
'mac' => $mac,
|
|
|
- 'options' => $cablemodem->getDHCPOptions(),
|
|
|
'hostType' => $hostType,
|
|
|
- ], $credentials);
|
|
|
+ ];
|
|
|
+
|
|
|
+ $dhcpOptions = $cablemodem->getDHCPOptions();
|
|
|
+ $data = array_merge($data, $dhcpOptions);
|
|
|
+
|
|
|
+ $result = $webservice->makeGetRequest($this->getUrlParameter($method, $host), $method, $data, $credentials);
|
|
|
|
|
|
$output->writeln($result);
|
|
|
} else {
|