Skip to content

[proposed patch] Gracefully handle connection to a host with multiple DNS address #84

@pbeyssac

Description

@pbeyssac

Issue: when there are multiple addresses recorded for a host in the DNS, bluetooth_gnss only tries the first one.

In cases where the address is unreachable, it doesn't take advantage of other available addresses.

Here is a proposed patch to address the issue. Sorry I wasn't able to test it or even check whether it compiles.
Specially useful on dual-stack hosts (IPv6 + IPv4).

patch.ipv6.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions