Project

General

Profile

« Previous | Next » 

Revision 77a8a7d6

Added by Steve Beaver over 8 years ago

Added a function validateipaddr() use as:
// Validate a network address
// $addr: the address to validate
// $type: IPV4|IPV6|IPV4V6
// $label: the label used by the GUI to display this value. Required to compose an error message
// $err_msg: pointer to the callers error message array so that error messages can be added to it here
// $alias: are aliases permitted for this address?
function validateipaddr(&$addr, $type, $label, &$err_msg, $alias=false)

This is indented to provide a single method of validating IP addresses of all types and composing a suitable error message

  • added
  • modified
  • copied
  • renamed
  • deleted