M-x whitespace-cleanup
determine the ip address based on a tag, if exists.