diff options
author | Neels Janosch Hofmeyr <nhofmeyr@sysmocom.de> | 2022-11-26 02:53:56 +0100 |
---|---|---|
committer | Neels Janosch Hofmeyr <nhofmeyr@sysmocom.de> | 2022-11-26 03:04:13 +0100 |
commit | c41bfcbbf0a364eaefe1782a60e41562edd0e3aa (patch) | |
tree | b9ceeb34b4bc72de2122cf6ccd5de1ff4b425cae /tests/libosmo-gtlv/gtlv_dec_enc_test.ok | |
parent | 25c4c9b355f294c954dfed7017db9ace20d6de09 (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 'tests/libosmo-gtlv/gtlv_dec_enc_test.ok')
0 files changed, 0 insertions, 0 deletions