summaryrefslogtreecommitdiff
path: root/lib/ns.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2016-11-12 19:11:13 -0200
committerRenato Westphal <renato@opensourcerouting.org>2016-11-25 11:46:06 -0200
commit043144ea897ba6a9d1e5f1a8d9e0d623d78bc2a4 (patch)
treeaad5b03f32ab972228802d9ef53b2cdf7c0c2ebb /lib/ns.c
parentc5bdb09fd9d18ac0524a14c90f79cfad95afefd7 (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