Get self ip address function added.