From c1702b0b3c24040ed8b402e684a8d0ffd4e4359f Mon Sep 17 00:00:00 2001 From: Philip Thompson Date: Fri, 12 Jun 2015 18:17:13 -0400 Subject: [PATCH] Fix ipv6 parsing on Windows startup Patch by Philip Thompson; reviewed by jmckenzie for CASSANDRA-9567 --- bin/cassandra.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/cassandra.ps1 b/bin/cassandra.ps1 index 80049ee786..41ea7c1d10 100644 --- a/bin/cassandra.ps1 +++ b/bin/cassandra.ps1 @@ -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 " ", "" } }