code for ifconfig.pro