Skip to content

Commit

Permalink
Fix for internet address type mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
git-elliot committed Nov 24, 2024
1 parent af3262f commit 55cba75
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
# Note: This workflow uses the latest stable version of the Dart SDK.
# You can specify other versions if desired, see documentation here:
# https://github.com/dart-lang/setup-dart/blob/main/README.md
- uses: dart-lang/setup-dart@v1.4
- uses: dart-lang/setup-dart@v1.6.5
# - uses: dart-lang/setup-dart@9a04e6d73cca37bd455e0608d7e5092f881fd603

- name: Install dependencies
Expand Down Expand Up @@ -51,4 +51,5 @@ jobs:
id-token: write # Required for authentication using OIDC
uses: git-elliot/setup-dart/.github/workflows/publish.yml@main # Added build_runner step
with:
environment: 'pub.dev'
environment: 'pub.dev'
build_runner: true
3 changes: 2 additions & 1 deletion lib/src/services/impls/mdns_scanner_service_impl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ class MdnsScannerServiceImpl extends MdnsScannerService {
await for (final IPAddressResourceRecord ip
in iPAddressResourceRecordStream) {
final ActiveHost activeHost = convertSrvToHostName(
internetAddress: ip.address,
internetAddress:
InternetAddress.fromRawAddress(ip.address.rawAddress),
ptr: ptr,
srv: srv,
);
Expand Down

0 comments on commit 55cba75

Please sign in to comment.