mirror of
https://github.com/nsupdate-info/nsupdate.info.git
synced 2026-04-25 00:25:58 +03:00
[PR #497] Support ipprefix via argument #520
Labels
No labels
bug
bug
duplicate
easy
easy
enhancement
enhancement
invalid
needs help
pull-request
scalability
security
task
urgent
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nsupdate.info-nsupdate-info#520
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/nsupdate-info/nsupdate.info/pull/497
Author: @the-nic
Created: 7/18/2022
Status: 🔄 Open
Base:
master← Head:support-ipv6prefix📝 Commits (1)
b212395Support ipprefix via argument📊 Changes
4 files changed (+48 additions, -10 deletions)
View changed files
📝
CHANGES.rst(+2 -1)📝
src/nsupdate/api/_tests/test_api.py(+24 -0)📝
src/nsupdate/api/views.py(+21 -8)📝
src/nsupdate/main/templates/main/includes/tabbed_router_configuration.html(+1 -1)📄 Description
Allow an extra argument
ipprefixfor both ipv4 and ipv6 to pass a separate prefix, like often for IPv6 connections where one gets a main ipv6 for the router and a subnet for the internal network.Passing the ipprefix will also override the default netmask from the config.
Fixes #353
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.