It is easy to fix when the interfaces only have one ula or global prefix per interface, however it is a little more complex in the generic case.
As for now the code assumes the same prefix on the interfaces, but it should use getifaddrs() to get the correct prefixes per interface and rewrite the IPv6 to match them to support NPTv6 / NETPMAP.
It is easy to fix when the interfaces only have one ula or global prefix per interface, however it is a little more complex in the generic case.
As for now the code assumes the same prefix on the interfaces, but it should use getifaddrs() to get the correct prefixes per interface and rewrite the IPv6 to match them to support NPTv6 / NETPMAP.