diff --git a/powerjob-common/src/main/java/com/github/kfcfans/powerjob/common/utils/NetUtils.java b/powerjob-common/src/main/java/com/github/kfcfans/powerjob/common/utils/NetUtils.java index 542393ab..8b0c5105 100644 --- a/powerjob-common/src/main/java/com/github/kfcfans/powerjob/common/utils/NetUtils.java +++ b/powerjob-common/src/main/java/com/github/kfcfans/powerjob/common/utils/NetUtils.java @@ -246,7 +246,7 @@ public class NetUtils { continue; } // 根据用户 -D 参数忽略网卡 - if (ignoreInterfaceByConfig(networkInterface.getDisplayName())) { + if (ignoreInterfaceByConfig(networkInterface.getDisplayName()) || ignoreInterfaceByConfig(networkInterface.getName())) { continue; } validNetworkInterfaces.add(networkInterface);