You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/08/24 04:57:59 UTC

[GitHub] [dubbo] BazookaW commented on issue #8581: [2.7.13] org.apache.dubbo.common.utils.NetUtils的ignoreNetworkInterface方法处理不了网卡名包含圆括号的环境

BazookaW commented on issue #8581:
URL: https://github.com/apache/dubbo/issues/8581#issuecomment-904322507


   @zrlw 请问`DUBBO_NETWORK_IGNORED_INTERFACE = "dubbo.network.interface.ignored"`这个参数你是在哪里设置的呢?
   
   > NetUtils.ignoreNetworkInterface方法使用matches判断是否是要忽略的网卡,当网卡名称包含圆括号时,如INTEL(R) XXX
   > 即使完全相同,结果也是false: ”INTEL(R) XXX".matches("INTEL(R) XXX" 结果为false!
   
   ![image](https://user-images.githubusercontent.com/17539174/130558080-46d99e38-9710-4431-b66d-4d70e041617a.png)
   我验证了一下,确实是返回false


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org