Skip to content

Commit 1543970

Browse files
authored
Update mtproxyd
1 parent 8568a6c commit 1543970

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opt/mtproto-proxy/mtproxyd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ $protocol = getprotobyname('tcp');
3535
$protocol = $protocol === false ? 0 : $protocol;
3636
for ($i=0; !$clean && $i<10; $i++) {
3737
try {
38-
$handler = new \danog\MadelineProto\Server(['type' => AF_INET, 'protocol' => $protocol, 'address' => '54.38.53.171', 'port' => $argv[2], 'handler' => '\danog\MadelineProto\Server\Proxy', 'extra' => ['madeline' => $MadelineProto->API->datacenter->sockets, 'secret' => hex2bin($secret), 'timeout' => 15]]);
38+
$handler = new \danog\MadelineProto\Server(['type' => AF_INET, 'protocol' => $protocol, 'address' => '0.0.0.0', 'port' => $argv[2], 'handler' => '\danog\MadelineProto\Server\Proxy', 'extra' => ['madeline' => $MadelineProto->API->datacenter->sockets, 'secret' => hex2bin($secret), 'timeout' => 15]]);
3939
$handler->start();
4040
$clean = true;
4141
}

0 commit comments

Comments
 (0)