diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2016-12-07 13:21:46 -0200 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2016-12-08 12:50:25 +0100 |
| commit | 6228a3b8743ea2a6589070de926588e2ceb0f27f (patch) | |
| tree | 1d4f333086f14d333c2aae31b1c01a27e55e8b0b /ospfd/ospf_api.h | |
| parent | de587d745e3b8b75cf92b2bff78af370adddb39f (diff) | |
*: always set SO_SNDBUF and SO_RCVBUF using a best effort approach
If we fail to set any socket's buffer size, try again with a smaller value
and keep going until it succeeds. This is better than just giving up or,
even worse, abort the creation of a socket (ospf6d and ripd).
Fix broken ospf6d on FreeBSD.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospfd/ospf_api.h')
0 files changed, 0 insertions, 0 deletions
