Fixed ipaddress missing if primary_nic is nil