fix some bugs in adding ipv6 routing tables