Fix ifconfig parsing problem