Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

Commit

Permalink
Merge pull request #2 from emil-nasso/patch-1
Browse files Browse the repository at this point in the history
Change constant name
  • Loading branch information
thekid authored Oct 1, 2016
2 parents 8113de7 + 26ab31d commit c7cd646
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/php/org/nagios/nsca/NscaClient.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ class NscaClient extends \lang\Object {
* @param string $host the host the NSCA server is running on
* @param int $port
* @param int $version default NSCA_VERSION_3
* @param int $cryptmethod default NSCA_CRYPT_XOR
* @param int $cryptmethod default CRYPT_XOR
*/
public function __construct(
$host,
$port= 5667,
$version= NscaProtocol::VERSION_3,
$cryptmethod= NscaProtocol::NSCA_CRYPT_XOR
$cryptmethod= NscaProtocol::CRYPT_XOR
) {

$this->sock= new Socket($host, $port);
Expand Down

0 comments on commit c7cd646

Please sign in to comment.