summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_packet.c
diff options
context:
space:
mode:
authorJakub Urbańczyk <xthaid@gmail.com>2020-08-19 14:19:19 +0200
committerJakub Urbańczyk <xthaid@gmail.com>2020-08-20 17:19:25 +0200
commita92706bb830b89f2a7d988b59471cd670f0452de (patch)
tree7aeefde83dfda8c6cebaf5abf094d562adf47166 /ospfd/ospf_packet.c
parentMerge pull request #6724 from Niral-Networks/niral_dev_vrf_isis_core_pr4 (diff)
downloadfrr-a92706bb830b89f2a7d988b59471cd670f0452de.tar.xz
frr-a92706bb830b89f2a7d988b59471cd670f0452de.zip
ospfd: make proactive ARP configurable
OSPFD sends ARP proactively to speed up convergence for /32 networks on a p2p connection. It is only an optimization, so it can be disabled. It is enabled by default. Signed-off-by: Jakub Urbańczyk <xthaid@gmail.com>
Diffstat (limited to 'ospfd/ospf_packet.c')
-rw-r--r--ospfd/ospf_packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c
index 49cd42d03..61aae695b 100644
--- a/ospfd/ospf_packet.c
+++ b/ospfd/ospf_packet.c
@@ -4322,7 +4322,7 @@ void ospf_ls_ack_send_delayed(struct ospf_interface *oi)
*/
void ospf_proactively_arp(struct ospf_neighbor *nbr)
{
- if (!nbr)
+ if (!nbr || !nbr->oi->ospf->proactive_arp)
return;
ospf_zebra_send_arp(nbr->oi->ifp, &nbr->address);