Fixed error for nics without a default gateway