Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'LinuxInterface' object has no attribute 'adresses' #616

Closed
vguillard opened this issue Jul 2, 2021 · 0 comments
Closed

Comments

@vguillard
Copy link
Contributor

There is a little mistake in documentation.

In documentation, its written this:

    Optionally, the protocol family to use can be enforced.
    >>> host.interface("eth0", "inet6").adresses
    ['fe80::e291:f5ff:fe98:6b8c']
    """

But, addresses is defined, not adresses:

@property
    def addresses(self):
        """Return ipv4 and ipv6 addresses on the interface
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants