Check whether net.ParseIP returned nil or not

This is fix of #8102

Signed-off-by: Oh Jinkyun <tintypemolly@gmail.com>
Yes, you're right, bad IPs from cli catched in parser. There are no objections, then.