前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
Helper function to strip the brackets from an IPv6 address. Tested by viruritest.