fixes #5123 - IP only from the same subnet and range
fixes #5123 - corrected string typos