diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-08-28 14:32:02 +0200 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2020-08-30 16:08:35 +0000 |
commit | 4f463c5ccce7527c6a3fd98c7f4a32c68638888a (patch) | |
tree | 92a9271c48a39ec322491a840dcf7ae5424b9950 /tests/utils | |
parent | 776c5b16ea63eb80349379fffb39e52ee6b2024d (diff) |
socket: Allow binding to :: (IPv6) and connecting to IPv4-only on the remote
sctp_bindx() fails if passed both "0.0.0.0" and "::", only "::" must
be passed instead, which covers both.
As a result, it is fine in this case and makes sense having only IPv6
formatted IPs in the local side (which actually also includes all IPv4
ones in th system) and IPv4-only addresses on the remote side.
Change-Id: I0b590113e5def20edcbcb098426b19cd504eabff
Diffstat (limited to 'tests/utils')
0 files changed, 0 insertions, 0 deletions