docs: private static void addAllInterfaces(List<NetworkInterface> target, List<NetworkInterface> level) {
          if (!level.isEmpty()) {
              target.addAll(level);
              for (NetworkInterface intf : level) {
                  addAllInterfaces(target, Collections.list(intf.getSubInterfaces()));
              }
          }
      }