ifconfig.c interface up|down functionality working