Check return code from inet_pton.

Discovered by:	Coverity.
Approved by:	glebius (mentor)
Approved by:	re (blanket)
Remove redundant files.

Approved by:    glebius (mentor)
Approved by:    re (blanket)