Tor should only fall back to using an interface address when it fails to parse the Address torrc option.
So you may have found a bug in the tor function resolve_my_address().
(Tor should also probably pay attention to the address in the ORPort line when testing reachability, but that's a separate issue.)
Can you please choose a tor instance with this issue, and provide:
* The exact Address, ORPort and DirPort lines (or the entire torrc, if you're able)
* The debug-level log output for the first and second calls to resolve_my_address()
* there will be a lot of output here, and it can reveal sensitive info - don't leave debug logging on all the time!
Tim
Tim Wilson-Brown (teor)
teor2345 at gmail dot com
PGP 968F094B
teor at blah dot im
OTR CAD08081 9755866D 89E2A06F E3558B7F B5A9D14F