summaryrefslogtreecommitdiff
path: root/lib/systemd.c
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@opensourcerouting.org>2024-10-02 16:53:05 -0300
committerRafael Zalamena <rzalamena@opensourcerouting.org>2024-11-12 23:03:20 -0300
commit20c3756f30f69ae71d9d7acefb925dfb9d526303 (patch)
tree7ce430869e6e33d0e9fec8f27433697fc2828783 /lib/systemd.c
parentac6314d380d270d379fc38c79e430ce2896de345 (diff)
bfdd: disable echo socket when not using it
Lets avoid a performance penalty in forwarding when not using the BFD echo feature. The echo socket uses raw packet capturing along with a BPF filter which causes performance issues. While here change code to use `-1` for closed sockets instead of valid FD number `0`. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'lib/systemd.c')
0 files changed, 0 insertions, 0 deletions