need a mechanism to automatically detect the ipv6 address of the node

because for a dynamic ipv6 address specifying the current ipv6 address requires automatic editing torrc by a scripts(or have i found no other way). it is also necessary to automatically detect when the ipv6 address changes as it is done for ipv4

Trac:
Username: babut