diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2019-10-24 04:08:16 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2019-11-11 20:14:01 +0100 |
commit | d0e8d6b9b566e9f0be64de0021b7c489e601a2fa (patch) | |
tree | 72b18b9605c0777d9f6bad9b8e143cfba67d4879 /src/msgb.c | |
parent | 83d691048b8d181da610ddd45e9a7091310bcd28 (diff) |
fix OSMO_SOCKADDR_STR_FMT for IPv6
The format prints IP:port separated by a colon, which of course is confusing
when the IPv6 address itself contains mostly colons. The new format adds square
braces.
cafe:face::1:42 -> [cafe:face::1]:42
The IPv4 format remains unchanged:
1.2.3.4:42
Change-Id: I161f8427729ae31be0eac719b7a4a9290715e37f
Diffstat (limited to 'src/msgb.c')
0 files changed, 0 insertions, 0 deletions