docs: private InterfaceAddress findMatchingAddress(DeviceAnnouncement aDevice, NetworkInterface networkInterface) {
          for (InterfaceAddress address : networkInterface.getInterfaceAddresses()) {
              if ((address.getBroadcast() != null) &&
                      Util.sameNetwork(address.getNetworkPrefixLength(), aDevice.getAddress(), address.getAddress())) {
                  return address;
              }
          }
          return null;
      }