mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Bridge wizard gui implementation
This commit is contained in:
parent
d65d47330f
commit
19c2aa8d4d
11 changed files with 466 additions and 5 deletions
7
httpdocs/js/ntopng_utils.js
vendored
7
httpdocs/js/ntopng_utils.js
vendored
|
|
@ -497,3 +497,10 @@ if (typeof(Math.sign) === "undefined") {
|
|||
return (x >= 0) ? 1 : -1;
|
||||
};
|
||||
}
|
||||
|
||||
function memberValueValidator(input) {
|
||||
var member = input.val();
|
||||
if (member === "") return true;
|
||||
|
||||
return is_mac_address(member) || is_network_mask(member, true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue