Fixed missing IPv6 checking in route-addr and an unused variable.
Fixed missing IPv6 checking in route-addr and an unused variable.

This closes #363 issue on Github.
Thanks to to 洪志道 (Hong Zhi Dao).

nginx/unit,nginx/unit,nginx/unit,nginx/unit,nginx/unit,nginx/unit,nginx/unit,nginx/unit,nginx/unit,nginx/unit,nginx/unit