Skip to content

Commit

Permalink
BoundSocket\UDP - fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ovr committed May 13, 2016
1 parent 2e9083b commit 65b1ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PHPDaemon/BoundSocket/UDP.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public function onReadUdp($stream = null, $events = 0, $arg = null)
$key = '[' . $host . ']:' . $port;
if (!isset($this->portsMap[$key])) {
if ($this->pool->allowedClients !== null) {
if (!self::netMatch($conn->pool->allowedClients, $host)) {
if (!self::netMatch($this->pool->allowedClients, $host)) {
Daemon::log('Connection is not allowed (' . $host . ')');
}
continue;
Expand Down

0 comments on commit 65b1ffe

Please sign in to comment.