Bridge wizard gui implementation

This commit is contained in:
emanuele-f 2017-05-12 01:06:46 +02:00
parent d65d47330f
commit 19c2aa8d4d
11 changed files with 466 additions and 5 deletions

View file

@ -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);
}