fix up the network ifname in the network state when receiving iface/ifup events