Skip to content

fix: missing netaddr import in _resolve_host causes NameError #52

@jozefrebjak

Description

@jozefrebjak

Problem

_resolve_host() in the DNS patch uses netaddr without an explicit local import. When the connectivity tool runs validation, it raises NameError: name 'netaddr' is not defined.

Solution

Add import netaddr inside _resolve_host().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions