]> git.puffer.fish Git - mirror/frr.git/commit
Set destination for PtP links to OSPF_ALLSPFROUTERS.
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Fri, 30 May 2008 14:04:39 +0000 (16:04 +0200)
committerJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Mon, 25 Aug 2008 07:52:06 +0000 (09:52 +0200)
commit53d0deceeb855493aa03c59477f8af7f6bb75140
treed90d9bffb35916108d9ce155c5c991edfea18395
parentb38309a4ee831a440ef78f8a27db584f2f8e8276
Set destination for PtP links to OSPF_ALLSPFROUTERS.

Update ospf_db_desc_send(), ospf_ls_upd_queue_send() and ospf_ls_req_send()
to always use OSPF_ALLSPFROUTERS for PtP links.

See RFC 2328, chap 8.1 for details:

    "The IP destination address for the packet is selected as
     follows.  On physical point-to-point networks, the IP
     destination is always set to the address AllSPFRouters."

Without this, it won't be possible to establish adjacencies on
multiple unnumbered links to the same router.
ChangeLog:
2008-07-25 Joakim Tjernlund <Joakim.Tjernlund@transmode.se>

* ospfd/ospf_packet.c: Set destination for PtP links to
  OSPF_ALLSPFROUTERS.
ospfd/ospf_packet.c