Skip to content

There is a bug in the tools.py file. #213

@inetsurfer

Description

@inetsurfer

Line 52
return struct.pack('2B', *[0, ip.prefixlen]) + ip.ip.packed
It should be changed from "ip.ip" to "ip.network_address"
return struct.pack('2B', *[0, ip.prefixlen]) + ip.network_address.packed

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