体验新版 GitCode,发现更多精彩内容 >>
Helper function to strip the brackets from an IPv6 address. Tested by viruritest.