Add function extract_ip_addr
Merge pull request #58 from powerist/portname

Add function extract_ip_addr