Move some code around in interface_up.