You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@zookeeper.apache.org by GitBox <gi...@apache.org> on 2020/07/12 11:07:48 UTC
[GitHub] [zookeeper] maoling commented on pull request #1395: ZOOKEEPER-3876: zkServer.sh status command fails when IPV6 is configured
maoling commented on pull request #1395:
URL: https://github.com/apache/zookeeper/pull/1395#issuecomment-657207089
Some test cases using [this online shell tool](https://www.runoob.com/try/runcode.php?filename=helloworld&type=bash) to check, don't test it in the real `ipv6` env
`
#!/bin/bash
export clientPortAndAddress='[127::1]:2181'
export clientPortAndAddress='192.168.10.66:2181'
export clientPortAndAddress='[2001:0db8:85a3:0000:0000:8a2e:0370:7334]:2181'
export clientPortAndAddress='[2000:0:0:0:1:2345:6789:abcd]:2181'
export clientPortAndAddress='[0:0:0:0:0:0:0:1]:2181'
export clientPortAndAddress='0:0:0:0:0:0:0:1:2181'
export clientPortAndAddress='[0:0:0:0:0:0:0:1]:2181'
export clientPortAndAddress='[::1]:2181'
export clientPortAndAddress='[::]:2181'
// the shell logic the patch provided
echo $clientPortAddress
echo $clientPort
`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org