Project

General

Profile

Actions

Feature #2320

closed

Javascript helper to toggle subnet mask length for IPv4/IPv6 during input

Added by Seth Mos over 12 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Start date:
03/28/2012
Due date:
% Done:

90%

Estimated time:
Plus Target Version:
Release Notes:

Description

There are numerous places in the UI where one is free to enter a IPv4 or IPv6 address, however, the max subnet mask length for ip4 is 32 bits, and for ip6 is 128 bits. A bit of JS that could toggle the subnetmask length to drop to 32 on a ip4 address during input saves a lot of headache.

This is atleast valid on editing aliases, virtual IP, static routes? Probably others, we'll add to the ticket for those.

Actions

Also available in: Atom PDF