diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-09-25 17:07:56 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-09-25 22:25:32 +0300 |
| commit | 2853f14d0591122c8a31765b29b6c499d54c1c7c (patch) | |
| tree | 3528194dbc8770db28e1d195e7674d0bd07dc40c /lib/printf/printf-pos.c | |
| parent | 1c829fac8e034e9fc7f3ce778b853c9e62c825aa (diff) | |
bgpd: Set the TTL for the correct socket
When we accept a connection, we try to set TTL for the socket, but the socket
is not yet created/assigned and we are trying to set it on the wrong socket fd.
```
[Event] connection from 127.0.0.1 fd 25, active peer status 3 fd -1
can't set sockopt IP_TTL 255 to socket -1
bgp_set_socket_ttl: Can't set TxTTL on peer (rtrid 0.0.0.0) socket, err = 9
Unable to set min/max TTL on peer 127.0.0.1, Continuing
```
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'lib/printf/printf-pos.c')
0 files changed, 0 insertions, 0 deletions
