add active flag to the interface struct, the if_list will contail all the valid interfaces within the device not just active interfaces,I have to get all the local route entries and insert them to the rte_list when the program start