Bugfixes and cleanup of repository.

Due to simplicity, only modefied files belonging to ifconfig(8),
route(8) and netstat(8) are remaining in repository.