Fix routing table in router mode