diff options
author | Oliver Smith <osmith@sysmocom.de> | 2018-10-30 14:31:57 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-11-06 21:44:28 +0000 |
commit | 860651ebd89072fa6fdcdd2dceeee96e5f088c18 (patch) | |
tree | 670ce04740e30b00047cfaae1e01979d214014ec /src/select.c | |
parent | ba2bd2eeb18ed361a0ee6038c8a3f114748aa576 (diff) |
socket.c: fix IP and port buffer sizes
Use INET6_ADDRSTRLEN (46) instead of 64 for IP address buffers, and 6
instead of 16 for port buffers (the highest possible port number is
65535).
Change-Id: Ia25e2f3277ad2f60df31c08d12f42c1e6d2a14a6
Diffstat (limited to 'src/select.c')
0 files changed, 0 insertions, 0 deletions