If you do not want IPV6 you can disable it:
To disable IPv6 please use this:
returns 1, or NA_IAM_STATUS_SUCCESS
Unfortunately, there is no way to disable IPv6 before the stack is started. There is a function that could be called after IAM has already started. Once the stack is started it will get IPv6 address, but then you call the function above and the IPv6 portion of the stack will shut down.