-
- Downloads
addr: Refactor find_my_address() to simplify it
Instead of a complex if/else block, use a table of functions that have the
same interface and each of them attempt to find the address one after the
other.
Pointed out by nickm's during review.
Signed-off-by:
David Goulet <dgoulet@torproject.org>
Please register or sign in to comment