ipv6: add `lifetime` argument to `add_router`
ipv6: remove unused variable
ipv6: fix bug in output routine