core/net/resolv: Fix for broken static lookups.

This change fixes an inverted comparison which was breaking static DNS lookups.