Skip to content

Inconsisent prefix length from list and search prefix #1458

Description

@alxbse

Currently it seems that using list_prefix in the XML-RPC api returns prefixes without the prefix_length field set. But using search_prefix returns prefixes with the prefix_length set.

I stumbled upon this while writing integration tests in a project using nipap and when first calling add_prefix (which seems to use list_prefix to return data) and then doing a search_prefix results in the prefixes not matching on the prefix_length field.

Is this behaviour by design?

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