Fixed bug with ifreq