Fix ipv6 parsing on Windows startup

Patch by Philip Thompson; reviewed by jmckenzie for CASSANDRA-9567
This commit is contained in:
Philip Thompson 2015-06-12 18:17:13 -04:00 committed by Josh McKenzie
parent 69b7dd3274
commit c1702b0b3c
1 changed files with 2 additions and 2 deletions

View File

@ -299,12 +299,12 @@ Function VerifyPortsAreAvailable
{
if ($line -match "^listen_address:")
{
$args = $line -Split ":"
$args = $line -Split ": "
$listenAddress = $args[1] -replace " ", ""
}
if ($line -match "^rpc_address:")
{
$args = $line -Split ":"
$args = $line -Split ": "
$rpcAddress = $args[1] -replace " ", ""
}
}