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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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