Bugfixes for IPv6 smartgw tunnel