diff options
author | Jakub Urbańczyk <xthaid@gmail.com> | 2020-08-19 14:19:19 +0200 |
---|---|---|
committer | Jakub Urbańczyk <xthaid@gmail.com> | 2020-08-20 17:19:25 +0200 |
commit | a92706bb830b89f2a7d988b59471cd670f0452de (patch) | |
tree | 7aeefde83dfda8c6cebaf5abf094d562adf47166 /ospfd/ospf_packet.c | |
parent | Merge pull request #6724 from Niral-Networks/niral_dev_vrf_isis_core_pr4 (diff) | |
download | frr-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.c | 2 |
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); |