diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2016-11-12 19:11:13 -0200 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2016-11-25 11:46:06 -0200 |
| commit | 043144ea897ba6a9d1e5f1a8d9e0d623d78bc2a4 (patch) | |
| tree | aad5b03f32ab972228802d9ef53b2cdf7c0c2ebb /lib/ns.c | |
| parent | c5bdb09fd9d18ac0524a14c90f79cfad95afefd7 (diff) | |
ripd: make use of the IP_MULTICAST_LOOP sockoption
We still need to check for self-generated packets on rip_read() because
ripd may also send broadcast packets. But using IP_MULTICAST_LOOP on the
ripd socket will at least prevent us from receiving a lot unnecessary
multicast packets when RIPv2 is being used, thus improving performance.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/ns.c')
0 files changed, 0 insertions, 0 deletions
