aboutsummaryrefslogtreecommitdiffstats
path: root/git-version-gen
diff options
context:
space:
mode:
authorNeels Janosch Hofmeyr <nhofmeyr@sysmocom.de>2022-11-26 02:53:56 +0100
committerNeels Janosch Hofmeyr <nhofmeyr@sysmocom.de>2022-11-26 03:04:13 +0100
commitc41bfcbbf0a364eaefe1782a60e41562edd0e3aa (patch)
treeb9ceeb34b4bc72de2122cf6ccd5de1ff4b425cae /git-version-gen
parent25c4c9b355f294c954dfed7017db9ace20d6de09 (diff)
add osmo_pfcp_ip_addrs_to_str_*()
Move static function ip_addrs_to_str_buf() to public API as osmo_pfcp_ip_addrs_to_str_buf() and osmo_pfcp_ip_addrs_to_str_c(). So far the static function was only used in places where it follows other strings, so that it made sense to always start with a comma. Move this comma out of the function to the callers. Sensibly handle a NULL pointer and an empty address set. Rationale: osmo-upf would like to print an osmo_pfcp_ip_addrs struct in logging. Change-Id: I5f67db8d347690cbb1ce273a2d072636859f1bf6
Diffstat (limited to 'git-version-gen')
0 files changed, 0 insertions, 0 deletions