NAME
Input::Validator::Constraint::Ip - Ip constraint
SYNOPSIS
$validator->field('ip')->constraint('ip');
$validator->field('ip')->constraint('ip', noprivate => 1);
DESCRIPTION
Checks whether a value looks like an ip address.
ARGUMENTS
noprivate
Private networks are considered invalid. Default is OFF.
METHODS
is_valid
Validates the constraint.