mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-17 21:38:11 +00:00
2004-08-27 David Wiggins <dwiggins@bbn.com>
* ospf_spf.c (ospf_nexthop_calculation): Initialize address family in on-stack struct prefix_ipv4. Fixes point-to-multipoint SPF calculation.
This commit is contained in:
parent
7225687afa
commit
d7d9399731
@ -1,10 +1,16 @@
|
|||||||
|
2004-08-27 David Wiggins <dwiggins@bbn.com>
|
||||||
|
|
||||||
|
* ospf_spf.c (ospf_nexthop_calculation): Initialize address family
|
||||||
|
in on-stack struct prefix_ipv4. Fixes point-to-multipoint SPF
|
||||||
|
calculation.
|
||||||
|
|
||||||
2004-08-26 Greg Troxel <gdt@fnord.ir.bbn.com>
|
2004-08-26 Greg Troxel <gdt@fnord.ir.bbn.com>
|
||||||
|
|
||||||
* ospf_packet.c (ospf_recv_packet): adjust size declaration of
|
* ospf_packet.c (ospf_recv_packet): adjust size declaration of
|
||||||
buffer used to get interface index so that it compiles on other
|
buffer used to get interface index so that it compiles on other
|
||||||
than Linux and includes the required alignment space. Probably
|
than Linux and includes the required alignment space. Probably
|
||||||
this was only working on sparc/sparc64 because most of sockaddr_dl
|
this was only working on sparc/sparc64 because most of
|
||||||
was not being written.
|
sockaddr_dl was not being written.
|
||||||
|
|
||||||
2004-08-19 Paul Jakma <paul@dishone.st>
|
2004-08-19 Paul Jakma <paul@dishone.st>
|
||||||
|
|
||||||
|
@ -424,6 +424,7 @@ ospf_nexthop_calculation (struct ospf_area *area,
|
|||||||
if (oi && oi->type == OSPF_IFTYPE_POINTOMULTIPOINT)
|
if (oi && oi->type == OSPF_IFTYPE_POINTOMULTIPOINT)
|
||||||
{
|
{
|
||||||
struct prefix_ipv4 la;
|
struct prefix_ipv4 la;
|
||||||
|
la.family = AF_INET;
|
||||||
la.prefixlen = oi->address->prefixlen;
|
la.prefixlen = oi->address->prefixlen;
|
||||||
/* We link to them on PtMP interface
|
/* We link to them on PtMP interface
|
||||||
- find the interface on w */
|
- find the interface on w */
|
||||||
|
Loading…
Reference in New Issue
Block a user