fix freebsd tpl, fix ipv6 addrs

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>