Skip to content

On systems without IPv6 this module crashes out #234

@pancho-villa

Description

@pancho-villa

Hello,

I ran into this issue and I think it may be the zeroconf module. I'm using Home Assistant on FreeBSD that does not have IPv6 support. It bombs out when I try to interrogate the network for devices. See my github issue here.

It looks like my system doesn't like this particular line:

https://github.com/jstasiak/python-zeroconf/blob/8e3adf8300a6f2b0bc0dcc4cde54d8890e0727e9/zeroconf/__init__.py#L88

Should I make a pull request with a try except block there for weirdo systems like mine? I'm not sure if that's the best course, it's just my first wild ass guess at a solution.

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions