Fix to IPv4 assignment