mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
This is a fix for regression introduced by ebe6a0ed026e27dc650b4c2fed8426357f959ddc. I have incorrectly assumed that providing only IPv6 ORPort is sufficient to listen on IPv4 and IPv6. As a result, Tor does not run when relay is enabled. Fix this by adding ORPorts for both IPv6 and IPv4. Tests performed: - Tor shows as running after enabling relay functionality. - Adding single or multiple ORPort values in the configuration file leads to actions/tor get-status reporting that relay is enabled. - Functional tests for Tor run properly. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>