Fixes #1 

Check if packet.link.ip is defined before accessing object.