HomeClusterLabs Projects
Diffusion Booth b581dcd42d70

Refactor: Add a function to get the port from a booth_site.

Description

Refactor: Add a function to get the port from a booth_site.

The port is either an IPv4 or an IPv6 port, so we need to inspect the
family value to figure out which it is before printing.

Also, site_string should take a const.

Co-authored-by: Jan Pokorný <jpokorny@redhat.com>

Details

Provenance
clumensAuthored on Aug 15 2024, 1:55 PM
Parents
rB66c276300c95: Refactor: Add a function to convert a BOOTH_DAEMON_STATE to a string.
Branches
Unknown
Tags
Unknown

Event Timeline