Try to fix ifconfig parsing