zekai-li opened a new pull request, #6811:
URL: https://github.com/apache/rocketmq/pull/6811

   <!-- Please make sure the target branch is right. In most case, the target 
branch should be `develop`. -->
   
   ### Which Issue(s) This PR Fixes
   
   <!-- Please ensure that the related issue has already been created, and 
[link this pull request to that issue using 
keywords](<https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword>)
 to ensure automatic closure. -->
   
   Fixes #6808
   
   ### Brief Description
   
   Fix the following three as
   1,TraceBean: private static final String LOCAL_ADDRESS = 
UtilAll.ipToIPv4Str(UtilAll.getIP()); getIP mayby ipv6
   2,NetworkUtil:if (ip.startsWith("127.0") || ip.startsWith("192.168") || 
ip.startsWith("0."));Check whether Intranet errors exist
   3,NetworkUtil, MixAll, UtilAll three code repeats, refactoring NetworkUtil 
related code as a tool outlet for network unified logic
   <!-- Write a brief description for your pull request to help the maintainer 
understand the reasons behind your changes. -->
   
   ### How Did You Test This Change?
   networkutiltest was set up for code testing
   <!-- In order to ensure the code quality of Apache RocketMQ, we expect every 
pull request to have undergone thorough testing. -->
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to