mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 16:30:10 +00:00
Optional parameter fix
This commit is contained in:
parent
4dc445584d
commit
ed0c30f839
1 changed files with 1 additions and 1 deletions
|
|
@ -550,7 +550,7 @@ local known_parameters = {
|
|||
["target"] = validateHost, -- the target of the alert
|
||||
["member"] = validateMember, -- an IPv4 (optional @vlan, optional /suffix), IPv6 (optional @vlan, optional /suffix), or MAC address
|
||||
["network"] = validateNumber, -- A network ID
|
||||
["ip"] = validateIpAddress, -- An IPv4 or IPv6 address
|
||||
["ip"] = validateEmptyOr(validateIpAddress), -- An IPv4 or IPv6 address
|
||||
["vhost"] = validateHTTPHost, -- HTTP server name or IP address
|
||||
["version"] = validateIpVersion, -- To specify an IPv4 or IPv6
|
||||
["vlan"] = validateEmptyOr(validateNumber), -- A VLAN id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue