diff options
author | Amol Lad <amol.lad@4rf.com> | 2021-01-07 09:04:00 +0100 |
---|---|---|
committer | Reuben Dowle <reuben.dowle@4rf.com> | 2021-04-05 23:23:42 +0200 |
commit | 0c5506a856263828e8b0ed8e003203bd48ab569d (patch) | |
tree | c769ac6696493fd7ff72ccae78dc7c20322092b4 /ospfd/ospf_spf.c | |
parent | nhrpd: Cleanup multicast nflog handler function (diff) | |
download | frr-0c5506a856263828e8b0ed8e003203bd48ab569d.tar.xz frr-0c5506a856263828e8b0ed8e003203bd48ab569d.zip |
ospfd: changes for PMP network /32 prefix length
Operation with PMP network on /32 prefix is needed for DMVPN
Signed-off-by: Reuben Dowle <reuben.dowle@4rf.com>
Diffstat (limited to 'ospfd/ospf_spf.c')
-rw-r--r-- | ospfd/ospf_spf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ospfd/ospf_spf.c b/ospfd/ospf_spf.c index 95553dacd..0164bfac6 100644 --- a/ospfd/ospf_spf.c +++ b/ospfd/ospf_spf.c @@ -905,7 +905,9 @@ static unsigned int ospf_nexthop_calculation(struct ospf_area *area, * somehow. */ if (area->ospf->ti_lfa_enabled - || (oi && oi->type == OSPF_IFTYPE_POINTOPOINT)) { + || (oi && oi->type == OSPF_IFTYPE_POINTOPOINT) + || (oi && oi->type == OSPF_IFTYPE_POINTOMULTIPOINT + && oi->address->prefixlen == IPV4_MAX_BITLEN)) { struct ospf_neighbor *nbr_w = NULL; /* Calculating node is root node, link |