diff options
author | Max <msuraev@sysmocom.de> | 2018-11-20 15:18:31 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2018-12-07 10:33:29 +0000 |
commit | 9d7a247da4e20acc6638fcd06198bfe673d0c384 (patch) | |
tree | d70896c6b7413d79aaf3feeb347a1b542c3d53fb /tests/msgb | |
parent | 72dfd437995cd5af6da6d8701e81c984744bc5ae (diff) |
Add osmo_sockaddr_in_to_str_and_uint()
It's similar to osmo_sockaddr_to_str_and_uint() but does not require odd
typecasting for AF_INET case. Make osmo_sockaddr_to_str_and_uint() into
wrapper around new function and make sure to check for address family
before typecasting. Also use proper return type.
Change-Id: Ie384483124d407a960ab6732e6a7fd90554389d2
Diffstat (limited to 'tests/msgb')
0 files changed, 0 insertions, 0 deletions