diff options
author | Knut Omang <knut.omang@oracle.com> | 2017-08-07 12:58:40 +0200 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2017-10-16 16:55:08 +0100 |
commit | 89382c3de5bc2250b1dad1c42c1f73d5ec6febda (patch) | |
tree | a8a745d1ce6554d2ab2163ca8c838a63448bde58 /util/notify.c | |
parent | 79b2a13aa81724228166c794f48eb75bfb696b88 (diff) |
sockets: factor out a new try_bind() function
A refactoring step to prepare for the problem
exposed by the test-listen test in the previous commit.
Simplify and reorganize the IPv6 specific extra
measures and move it out of the for loop to increase
code readability. No semantic changes.
Signed-off-by: Knut Omang <knut.omang@oracle.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'util/notify.c')
0 files changed, 0 insertions, 0 deletions