Skip to content

Increase OVPN local_network patch length #644

@qwebie

Description

@qwebie

pfSense Version: 2.7.2-RELEASE
pfsense-api Version: v2.3.2 OAS 3.0
Not a bug / new feature request
Endpoint: /api/v2/vpn/openvpn/server
Method: PATCH

Is your feature request related to a problem? Please describe.
When local_network key have length of more than 128 entries. Returns the following:

{"code":400,"status":"bad request","response_id":"LENGTH_VALIDATOR_MAXIMUM_CONSTRAINT","message":"Field `local_network` exceeds the maximum array length of 128.","data":[]}

Describe the solution you'd like
Allow more than 128 length for local_network.

When updating via pfSense UI
The number of local_network can go past 128.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementIssues or PRs that enhance existing features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions